I believe the intended usage of this command is basically to allow
alias cargo='cargo ft'
However today's argument parsing does not allow this with other "combinatorial" plugins such as auditable
Expected Behavior
I expect cargo ft auditable build .. to build code with both plugins.
Actual Behavior
This fails:
cargo-ft.git master λ cargo ft auditable build --locked --frozen --offline --all-features
error: unrecognized subcommand 'auditable'
Usage: cargo-ft <COMMAND>
For more information, try '--help'.
2 cargo-ft.git master λ
This however works:
cargo-ft.git master λ cargo auditable ft build --locked --frozen --offline --all-features
Collecting metadata
Using default behavior for cargo-ft because missing metadata
Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.02s
Possible Fix
I believe this is mainly an args parsing issue where ft expects cargo subcommands immediately (build, test, ...) instead of eg. auditable.
This issue may not be fixable in the general case, for example with cargo plugins that compile things regardless of --target.
Your Environment
- Version used: v0.2.0
- Environment name and version (e.g. cargo 1.74): 1.85
- Operating System and version: Ubuntu 24.04.2 LTS
I believe the intended usage of this command is basically to allow
However today's argument parsing does not allow this with other "combinatorial" plugins such as
auditableExpected Behavior
I expect
cargo ft auditable build ..to build code with both plugins.Actual Behavior
This fails:
This however works:
Possible Fix
I believe this is mainly an args parsing issue where
ftexpects cargo subcommands immediately (build, test, ...) instead of eg.auditable.This issue may not be fixable in the general case, for example with cargo plugins that compile things regardless of
--target.Your Environment