Open AliSajid opened 6 months ago
It is installed as a cargo plugin, because this works:
cargo toml-lint --help
The problem seems to be with how the arguments are parsed.
$ cargo toml-lint Cargo.toml
error: Found argument 'Cargo.toml' which wasn't expected, or isn't valid in this context
@AliSajid if you want to dig into this, it'd be much appreciated!
I was recently trying to use this app to validate my
Cargo.toml
files. However, when run ascargo toml-lint Cargo.toml
it does not work. I dug through your codebases and found that your CI usescargo-toml-lint
(notice the extra hyphen betweencargo
andtoml
) to call the binary.It appears that this is not completely integrated as a Cargo plugin, or is no longer being integrated as one.
I'd be happy to research this and send a PR if that is of interest to you?