diff options
author | Samy Pessé <samypesse@gmail.com> | 2015-02-03 10:37:21 +0100 |
---|---|---|
committer | Samy Pessé <samypesse@gmail.com> | 2015-02-03 10:37:21 +0100 |
commit | fd78a06b11ebdd4df163666c6fe2ba9dbf9b8486 (patch) | |
tree | ced3f68333b23b05563408c9a534fac63b234048 /bin | |
parent | 80efc8e086b69634841411baa8be2b9002c3e65a (diff) | |
download | gitbook-fd78a06b11ebdd4df163666c6fe2ba9dbf9b8486.zip gitbook-fd78a06b11ebdd4df163666c6fe2ba9dbf9b8486.tar.gz gitbook-fd78a06b11ebdd4df163666c6fe2ba9dbf9b8486.tar.bz2 |
Add message in gitbook command line
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/gitbook.js | 7 |
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'")); |