From 5771a470546185016f2432a99525bb7ae274ea29 Mon Sep 17 00:00:00 2001 From: redshift <213178690+1ftredsh@users.noreply.github.com> Date: Mon, 4 May 2026 16:11:57 +0000 Subject: [PATCH] feat: show available flags when clients add is called without options --- src/utils/clients.ts | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/src/utils/clients.ts b/src/utils/clients.ts index 3f4c37a..4a8d78a 100644 --- a/src/utils/clients.ts +++ b/src/utils/clients.ts @@ -235,9 +235,14 @@ export async function addClientAction(options: AddClientOptions): Promise } if (!options.name) { - console.error( - "error: required option '-n, --name ' not specified", - ); + console.error("error: either provide a client name or specify an integration flag.\n"); + console.error("Options:"); + console.error(" -n, --name Client name"); + console.error(" --opencode Set up OpenCode integration"); + console.error(" --openclaw Set up OpenClaw integration"); + console.error(" --pi-agent Set up Pi Agent integration"); + console.error(" --claude-code Set up Claude Code integration"); + console.error(" --hermes Set up Hermes integration"); process.exit(1); }