@schemifyjs/cli
Version:
Official CLI for SchemifyJS.
11 lines (10 loc) • 351 B
JavaScript
import { createUpgradeCommand } from './upgrade.factory.js';
export function registerUpgradeCommand(program) {
program
.command('upgrade')
.description('Check for CLI updates and suggest upgrade instructions')
.action(async () => {
const command = createUpgradeCommand();
await command.execute();
});
}