mirror of
https://github.com/OpenRouterTeam/spawn.git
synced 2026-04-28 03:49:31 +00:00
fix(cli): add --flat to KNOWN_FLAGS so spawn list --flat works (#3137)
The --flat flag was documented in help output and used by `spawn list` but missing from KNOWN_FLAGS, causing an "Unknown flag" error. Agent: ux-engineer Co-authored-by: B <6723574+louisgv@users.noreply.github.com> Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
cd9d12d2c4
commit
41f6b6eb8f
3 changed files with 3 additions and 1 deletions
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@openrouter/spawn",
|
||||
"version": "0.30.3",
|
||||
"version": "0.30.4",
|
||||
"type": "module",
|
||||
"bin": {
|
||||
"spawn": "cli.js"
|
||||
|
|
|
|||
|
|
@ -228,6 +228,7 @@ describe("KNOWN_FLAGS completeness", () => {
|
|||
"--config",
|
||||
"--steps",
|
||||
"--fast",
|
||||
"--flat",
|
||||
"--user",
|
||||
"-u",
|
||||
"--yes",
|
||||
|
|
|
|||
|
|
@ -36,6 +36,7 @@ export const KNOWN_FLAGS = new Set([
|
|||
"--config",
|
||||
"--steps",
|
||||
"--fast",
|
||||
"--flat",
|
||||
"--user",
|
||||
"-u",
|
||||
"--yes",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue