CleverStack/cleverstack-cli

View on GitHub
bin/clever-list

Summary

Maintainability
Test Coverage
#!/usr/bin/env node

var path    = require('path')
  , lib     = GLOBAL.lib = require(path.join(__dirname, '..', 'lib'))
  , program = require('commander');

program.version(lib.pkg.version);

program.on('--help', function() {
  console.log('  Example:');
  console.log('    clever list');
  console.log('');
});

program.parse(process.argv);

process.argv = process.argv.splice(0, 2);

require(path.join(__dirname, 'clever-search'));