`--profile` missing from `quarto call engine`, `call build-ts-extension`, and `call typst-gather` --help
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 86/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- typescript
- Domain
- cli
Research direction
Start in src/command/call/cmd.ts and compare profile handling with appendLogOptions in src/core/log.ts. Review appendProfileArg in src/quarto-core/profile.ts, then check help output for engine, build-ts-extension, typst-gather, and axe. Done means the three affected subcommands consistently show --profile without changing axe behavior.
Written by the indexing model from the issue text.
Description
quarto call engine, quarto call build-ts-extension, and quarto call typst-gather --help are all missing --profile, while quarto call axe --help has it:
$ quarto call typst-gather --help
...
Options:
-h, --help - Show this help.
--init-config - Generate a starter typst-gather.toml in current directory
--log <file> - Path to log file
--log-level <level> - Log level (debug, info, warning, error, critical)
--log-format <format> - Log format (plain, json-stream)
--quiet - Suppress console output.
$ quarto call axe --help
...
--log <file> - Path to log file
--log-level <level> - Log level (debug, info, warning, error, critical)
--log-format <format> - Log format (plain, json-stream)
--quiet - Suppress console output.
--profile - Active project profile(s)
--profile is registered as a global option in appendProfileArg:
This relies on cliffy's native global: true option inheritance, which per #8438 does not reliably reach every subcommand. appendLogOptions hit the same bug and works around it by manually forwarding the log/quiet options to every subcommand instead of trusting cliffy's inheritance:
appendProfileArg never got the same treatment, so it still depends on cliffy's inheritance and only reaches the last subcommand registered under call:
axe was added last (#14815) and is the only one that got --profile by coincidence. This also explains why quarto-web's automated reference docs lost --profile from quarto call typst-gather between v1.11.3 and v1.11.5, even though nothing in typst-gather's own command changed.
We could apply the same subcommand-forwarding pattern from appendLogOptions to appendProfileArg.
Related: #8438
- Dominant language
- JavaScript
- Stars
- 6k
- Forks
- 458
- Avg merge
- 1d 3h
- Merged PRs (30d)
- 54
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from quarto-dev/quarto-cli
-
accessibility bug typst
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
quarto-dev/quarto-cli#14947 · 2 comments ·
-
accessibility documentation
Difficulty 1/5 Under an hour Newbie friendliness 90/100
quarto-dev/quarto-cli#14944 ·
-
maintenance ojs-engine
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
quarto-dev/quarto-cli#14934 ·
-
accessibility bug html themes
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
quarto-dev/quarto-cli#14932 ·
-
binder bug
Difficulty 1/5 Under an hour Newbie friendliness 92/100
quarto-dev/quarto-cli#14907 · 3 comments · 1 reaction ·
All issues in quarto-dev/quarto-cli
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
antfu-collective/icones#398 ·
-
ECmail.com Open
Difficulty 1/5 Under an hour Newbie friendliness 90/100
wesbos/burner-email-providers#554 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
radiantearth/stac-browser#1023 ·
-
HMR stops working Open
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
components-web-app/docs#92 ·