Browse Source

add help for now-list

master
nkzawa 9 years ago
parent
commit
dc92b119ce
  1. 18
      bin/now-list

18
bin/now-list

@ -11,6 +11,24 @@ import * as cfg from '../lib/cfg';
import { handleError, error } from '../lib/error';
const argv = minimist(process.argv.slice(2));
const help = () => {
console.log(`
𝚫 now list [app]
Alias: ls
Options:
-h, --help output usage information
-d, --debug Debug mode [off]
`);
};
if (argv.h || argv.help) {
help();
process.exit(0);
}
const app = argv._[0];
// options

Loading…
Cancel
Save