summaryrefslogtreecommitdiffstats
path: root/bin/gitbook.js
blob: 5cadbc99575415fd2f10675eb212f7f68b7d09bd (plain)
1
2
3
4
5
6
7
8
#! /usr/bin/env node
/* eslint-disable no-console */

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 installed this package globally, you need to uninstall it.'));
console.log(color.red('>> Run "npm uninstall -g gitbook" then "npm install -g gitbook-cli"'));