This repository has been archived on 2020-01-20. You can view files and clone it, but cannot push or open issues or pull requests.
2014-02-07 23:21:24 +02:00
|
|
|
#!/usr/bin/env node
|
|
|
|
/*
|
2015-08-25 21:49:46 +03:00
|
|
|
* Copyright (c) 2015 Joyent Inc. All rights reserved.
|
2014-02-07 23:21:24 +02:00
|
|
|
*/
|
|
|
|
|
|
|
|
var p = console.log;
|
|
|
|
var cmdln = require('cmdln');
|
2015-09-02 11:04:20 +03:00
|
|
|
var main = require('../lib/cli').main;
|
2014-02-07 23:21:24 +02:00
|
|
|
|
|
|
|
if (require.main === module) {
|
2015-09-02 11:04:20 +03:00
|
|
|
main();
|
|
|
|
/*
|
2015-08-25 22:14:16 +03:00
|
|
|
var cli = new CLI();
|
|
|
|
cmdln.main(cli, {
|
|
|
|
argv: process.argv,
|
|
|
|
showCode: true,
|
|
|
|
showNoCommandErr: false
|
|
|
|
});
|
2015-09-02 11:04:20 +03:00
|
|
|
*/
|
2014-02-07 23:21:24 +02:00
|
|
|
}
|