Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -526,7 +526,7 @@ If you installed the skill (see [Install](#as-an-agent-skill)), use it directly
| `... \| claude -p "do this"` | Pipe to Claude |
| `... \| goose run` | Pipe to Goose |

The switch names `no-interactive`, `cross`, `json`, `status` and `help` are reserved and cannot be used as template variable names. Switches take no value: `--json=false` is rejected with a usage error. A flag that names no blank in the template (e.g. a typo like `--fiel=x`) is also an error.
The switch names `no-interactive`, `cross`, `json`, `status` and `help` are reserved and cannot be used as template variable names. Switches take no value: `--json=false` is rejected with a usage error. A flag that names no blank in the template (e.g. a typo like `--fiel=x`) is also an error. So is a blank left unfilled under `--no-interactive` or piped stdin: `promptargs` exits 1 with `Missing value for {{name}}: ...` rather than printing the raw placeholder.

---

Expand Down
1 change: 1 addition & 0 deletions changelog.d/fixed-322-no-interactive-missing-value.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
`promptargs` now exits 1 with `Missing value for {{name}}: ...` when a blank has no value under `--no-interactive` (or piped stdin) instead of printing the unfilled `{{name}}` placeholder and exiting 0. (#322)
12 changes: 12 additions & 0 deletions dist/cli.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/cli.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

39 changes: 37 additions & 2 deletions dist/cli.test.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/cli.test.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/resolver.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading