Commit eda7653
fix(create): accept template id as well as name in --template
`--template` matched only the manifest `name`, but the new `--json` payload
reports the template `id` — and 19 of 43 templates have `id !== name`, so the
value the machine-readable output emits was rejected on round-trip. The
`--help` example `--template js-crawlee-cheerio` was broken for the same
reason. Resolve against either field.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>1 parent 97b59e0 commit eda7653
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
51 | 54 | | |
52 | 55 | | |
53 | 56 | | |
| |||
0 commit comments