diff --git a/packages/cli/src/cli.ts b/packages/cli/src/cli.ts index 928b32c9e..e7e726203 100644 --- a/packages/cli/src/cli.ts +++ b/packages/cli/src/cli.ts @@ -16,6 +16,7 @@ import { runSendCommand } from './commands/agent/send.js' import { runInspectCommand } from './commands/agent/inspect.js' import { runWaitCommand } from './commands/agent/wait.js' import { runAttachCommand } from './commands/agent/attach.js' +import { runUpdateCommand } from './commands/agent/update.js' import { withOutput } from './output/index.js' const VERSION = '0.1.0' @@ -125,6 +126,21 @@ export function createCli(): Command { .option('--host ', 'Daemon host:port (default: localhost:6767)') .action(withOutput(runWaitCommand)) + program + .command('update') + .description('Update an agent (alias for "paseo agent update")') + .argument('', 'Agent ID (or prefix)') + .option('--name ', "Update the agent's display name") + .option( + '--label