batman
This commit is contained in:
Executable
+22
@@ -0,0 +1,22 @@
|
||||
#!/usr/bin/env node
|
||||
'use strict';
|
||||
|
||||
var { Command } = require('commander');
|
||||
var pkg = require('../package.json');
|
||||
|
||||
var initCmd = require('../src/commands/init');
|
||||
var updateRepoCmd = require('../src/commands/update-repo');
|
||||
var updateBaseCmd = require('../src/commands/update-base');
|
||||
|
||||
var program = new Command();
|
||||
|
||||
program
|
||||
.name('vitruvio')
|
||||
.description('Ferramentas de linha de comando para repositórios Vitruvio')
|
||||
.version(pkg.version);
|
||||
|
||||
initCmd.register(program);
|
||||
updateRepoCmd.register(program);
|
||||
updateBaseCmd.register(program);
|
||||
|
||||
program.parse(process.argv);
|
||||
Reference in New Issue
Block a user