UNPKG

435 BPlain TextView Raw
1#!/usr/bin/env node
2
3var path = require('path')
4 , lib = GLOBAL.lib = require(path.join(__dirname, '..', 'lib'))
5 , program = require('commander');
6
7program.version(lib.pkg.version);
8
9program.on('--help', function() {
10 console.log(' Example:');
11 console.log(' clever list');
12 console.log('');
13});
14
15program.parse(process.argv);
16
17process.argv = process.argv.splice(0, 2);
18
19require(path.join(__dirname, 'clever-search'));