diff --git a/apps/cli/bin/app.js b/apps/cli/bin/app.js index 14e71af9..17a8c443 100755 --- a/apps/cli/bin/app.js +++ b/apps/cli/bin/app.js @@ -27,14 +27,14 @@ yargs(hideBin(process.argv)) description: "Do not interact with the user", default: false, }) - .option("sync-examples", { + .option("sync-example", { type: "string", description: "Import an example workflow by name (use 'all' for every example) before running", }), async (argv) => { let agent = argv.agent ?? "copilot"; - if (argv["sync-examples"]) { - const requested = String(argv["sync-examples"]).trim(); + if (argv["sync-example"]) { + const requested = String(argv["sync-example"]).trim(); const isAll = requested.toLowerCase() === "all"; try { const examplesToImport = isAll ? await listAvailableExamples() : [requested]; @@ -58,7 +58,7 @@ yargs(hideBin(process.argv)) console.error(error?.message ?? error); process.exit(1); } - console.error("Examples imported. Re-run rowboatx without --sync-examples (or with --agent ) when you're ready to chat."); + console.error("Examples imported. Re-run rowboatx without --sync-example (or with --agent ) when you're ready to chat."); return; } await app({ diff --git a/apps/cli/package-lock.json b/apps/cli/package-lock.json index 5a7c8a43..5b2183f7 100644 --- a/apps/cli/package-lock.json +++ b/apps/cli/package-lock.json @@ -1,12 +1,12 @@ { "name": "@rowboatlabs/rowboatx", - "version": "0.10.0", + "version": "0.12.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@rowboatlabs/rowboatx", - "version": "0.10.0", + "version": "0.12.0", "license": "Apache-2.0", "dependencies": { "@ai-sdk/anthropic": "^2.0.44",