This repository has been archived on 2026-06-01. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
pulse/packages/upulse/src/cli.ts
T
xiaoju 3e30503c08
CI / test (push) Has been cancelled
feat: upulse CLI refactor — 4 commands (init/inspect/workflow/status)
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.
2026-04-17 13:30:17 +00:00

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();