3e30503c08
CI / test (push) Has been cancelled
Auto-generated by meta workflow (cli-cleanup topic). Removed: daemon, deploy, dev, gc, list, tick, ui commands. Added: status (systemd + db stats), updated inspect + workflow.
32 lines
790 B
JavaScript
32 lines
790 B
JavaScript
#!/usr/bin/env node
|
|
|
|
/**
|
|
* @uncaged/upulse — Pulse CLI
|
|
*
|
|
* Agent 的自主神经系统管理工具
|
|
*/
|
|
|
|
import { Command } from 'commander';
|
|
import { registerInitCommand } from './commands/init.js';
|
|
import { registerInspectCommand } from './commands/inspect.js';
|
|
import { registerStatusCommand } from './commands/status.js';
|
|
import { registerWorkflowCommand } from './commands/workflow.js';
|
|
|
|
const program = new Command();
|
|
|
|
program
|
|
.name('upulse')
|
|
.description('Pulse CLI — Agent 的自主神经系统管理工具')
|
|
.version('0.1.0')
|
|
.option(
|
|
'-d, --dir <path>',
|
|
'Pulse base directory (overrides PULSE_BASE_DIR)',
|
|
);
|
|
|
|
registerInitCommand(program);
|
|
registerInspectCommand(program);
|
|
registerWorkflowCommand(program);
|
|
registerStatusCommand(program);
|
|
|
|
program.parse();
|