Skip to content

Commit f0198b2

Browse files
zrosenbauerclaude
andauthored
feat(core,cli): add kidd run command and configurable strict mode (#118)
Co-authored-by: Claude <noreply@anthropic.com>
1 parent f51a6b1 commit f0198b2

File tree

7 files changed

+717
-1
lines changed

7 files changed

+717
-1
lines changed

.changeset/feat-run-command.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
---
2+
'@kidd-cli/core': minor
3+
'@kidd-cli/cli': minor
4+
---
5+
6+
feat(core): add configurable `strict` mode for CLI, command, and screen
7+
8+
Add `strict` option to `CliOptions`, `CommandDef`, and `ScreenDef` to control whether yargs rejects unknown flags. Defaults to `true` (existing behavior). Per-command `strict: false` overrides the CLI-level setting.
9+
10+
feat(cli): add `kidd run` command
11+
12+
New command to run the current kidd CLI project with three engine modes:
13+
14+
- `node` (default) — builds first, then runs `node dist/index.mjs`
15+
- `tsx` — runs the source entry file directly via `tsx`
16+
- `binary` — builds and compiles, then executes the compiled binary
17+
18+
Supports `--inspect`, `--inspect-brk`, `--inspect-wait`, and `--inspect-port` for debugging (node and tsx engines only). All unknown flags are forwarded to the executed CLI.

0 commit comments

Comments
 (0)