summaryrefslogtreecommitdiffstats
path: root/bin/gitbook.js
diff options
context:
space:
mode:
authorSamy Pessé <samypesse@gmail.com>2015-02-03 10:37:21 +0100
committerSamy Pessé <samypesse@gmail.com>2015-02-03 10:37:21 +0100
commitfd78a06b11ebdd4df163666c6fe2ba9dbf9b8486 (patch)
treeced3f68333b23b05563408c9a534fac63b234048 /bin/gitbook.js
parent80efc8e086b69634841411baa8be2b9002c3e65a (diff)
downloadgitbook-fd78a06b11ebdd4df163666c6fe2ba9dbf9b8486.zip
gitbook-fd78a06b11ebdd4df163666c6fe2ba9dbf9b8486.tar.gz
gitbook-fd78a06b11ebdd4df163666c6fe2ba9dbf9b8486.tar.bz2
Add message in gitbook command line
Diffstat (limited to 'bin/gitbook.js')
-rwxr-xr-xbin/gitbook.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/bin/gitbook.js b/bin/gitbook.js
new file mode 100755
index 0000000..1487f52
--- /dev/null
+++ b/bin/gitbook.js
@@ -0,0 +1,7 @@
+#! /usr/bin/env node
+
+var color = require('bash-color');
+
+console.log(color.red("You need to install 'gitbook-cli' to have access to the gitbook command anywhere on your system."));
+console.log(color.red("If you've installe this package globally, you need to uninstall it."));
+console.log(color.red(">> Run 'npm uninstall -g gitbook' then 'npm install -g gitbook-cli'"));