Skip to content

Instantly share code, notes, and snippets.

@arikon
Created September 23, 2011 11:50
Show Gist options
  • Save arikon/1237180 to your computer and use it in GitHub Desktop.
Save arikon/1237180 to your computer and use it in GitHub Desktop.
require('../lib/coa').Cmd()
.name('cmd')
.title('Command test')
.helpful()
.cmd()
.name('command')
.title('Do command work')
.helpful()
.act(function() {
console.log('Doing command work...');
})
.end()
.run(['command', '--help'])
.run(['command']);
@arikon
Copy link
Author

arikon commented Sep 23, 2011

При запуске не выводит ничего

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment