gorm/gitbook/bin/gitbook.js
2016-02-26 22:05:59 +08:00

9 lines
406 B
JavaScript

#! /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"'));