tiny-bin
Version:
A library for building tiny and beautiful command line apps.
16 lines (15 loc) • 446 B
JavaScript
/* IMPORT */
import Addon from './addon.js';
import ChainableBin from './chainable_bin_global.js';
/* MAIN */
class ChainableBinAfterCustomCommand extends Addon {
/* API */
command(name, description, options = {}) {
return new ChainableBin(this.bin).command(name, description, options);
}
run(argv) {
return new ChainableBin(this.bin).run(argv);
}
}
/* EXPORT */
export default ChainableBinAfterCustomCommand;