UNPKG

kelp-cli

Version:

A command-line tools for kelp

12 lines (11 loc) 208 B
const program = require('..'); program() .command('hello', () => { console.log('hello world'); }) .command('help', () => { console.log(''); console.log('- hello'); console.log('- help'); }) .parse();