11 lines
199 B
JavaScript
11 lines
199 B
JavaScript
|
const { Command } = require('commander');
|
||
|
const commands = require('./commands');
|
||
|
|
||
|
const cli = new Command();
|
||
|
|
||
|
cli.version(require('../package.json').version);
|
||
|
|
||
|
commands(cli);
|
||
|
|
||
|
module.exports = cli;
|