Unable to run `cargo run --timings`
Open
Nobody has claimed this yet.
- Dominant language
- Nushell
- Stars
- 1.3k
- Forks
- 323
- Avg merge
- 3h 34m
- Merged PRs (30d)
- 4
Description
cargo run --timings worked fine initially.
But once the following code was added to config.nu, cargo run --timings stopped working:
source "nu_scripts/custom-completions/cargo/cargo-completions.nu"
and produced this error:
Error: nu::parser::missing_flag_param
× Missing flag argument.
╭─[entry #2:1:13]
1 │ cargo build --timings
· ────┬────
· ╰── flag missing string argument
╰────
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.
Research direction
Start with config.nu and the sourced nu_scripts/custom-completions/cargo/cargo-completions.nu file. Reproduce the problem with cargo run --timings after adding the source line, then compare it with cargo build --timings using the reported missing flag argument. Done means cargo run --timings works with the completion script sourced.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- shell
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100