feat(update): refactored updates to work as a single command

This commit is contained in:
jb
2026-04-17 15:00:51 -03:00
parent 992cb0e7dd
commit e3a6837052
5 changed files with 165 additions and 162 deletions
+2 -6
View File
@@ -5,11 +5,9 @@ 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 updateCmd = require('../src/commands/update');
var docsCmd = require('../src/commands/docs');
var updateIdeCmd = require('../src/commands/update-ide');
var updateCliCmd = require('../src/commands/update-cli');
var program = new Command();
@@ -19,10 +17,8 @@ program
.version(pkg.version);
initCmd.register(program);
updateRepoCmd.register(program);
updateBaseCmd.register(program);
updateCmd.register(program);
docsCmd.register(program);
updateIdeCmd.register(program);
updateCliCmd.register(program);
program.parse(process.argv);