diff --git a/bin/now-list b/bin/now-list index e724fd6..019f65a 100755 --- a/bin/now-list +++ b/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