Commit 96a9897
committed
claude: Initialize engines for quarto create project command
The "quarto create project" command (without dashes) calls projectCreate()
which looks up the execution engine, but engines weren't registered before
this call. This caused "Invalid execution engine: markdown" errors.
Solution:
- Added initializeProjectContextAndEngines() at start of action handler
- Ensures markdown engine (and all standard engines) are registered
- Handles both interactive and JSON modes
This is simpler than create-project fix because this command always uses
the markdown engine (hardcoded), doesn't accept --engine parameter, and
doesn't need external engine support.
Fixes: quarto create project [type] [directory]1 parent a40d030 commit 96a9897
File tree
4 files changed
+10
-0
lines changed- src/command/create
- tests/docs
- project
- plain
- site
4 files changed
+10
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
| |||
52 | 53 | | |
53 | 54 | | |
54 | 55 | | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
55 | 59 | | |
56 | 60 | | |
57 | 61 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
| 3 | + | |
0 commit comments