h2cli
Version:
A command line interface for HTTP/2
16 lines (15 loc) • 386 B
JavaScript
var cmd = require('../command.js');
module.exports = {
'exec': function (args, callback) {
var c;
cmd.getCommandNames().forEach(function (name) {
console.log("%s\t\t", name, cmd.getCommand(name).help.summary);
});
callback();
},
'arguments': {},
'help': {
'summary': 'This command',
'description': ''
}
};