Closed dbrgn closed 2 years ago
This command fails, even though it should work:
cargo run -- --raw -f tar.md
This is a regression introduced by #108, because of the requires-constraints in commands like raw.
requires
raw
First, write a regression test to catch this bug.
Then find out how to tell clap that "either a command or a -f file is required".
Additionally, --config-path cannot be used standalone anymore 😕 It's deprecated, but it shouldn't totally break.
--config-path
Edit: Can't reproduce this issue anymore.
This command fails, even though it should work:
This is a regression introduced by #108, because of the
requires
-constraints in commands likeraw
.First, write a regression test to catch this bug.
Then find out how to tell clap that "either a command or a -f file is required".