Open fpoli opened 3 months ago
Hi! When running cargo-modules orphan --manifest-path=path/to/package/Cargo.toml in a workspace, the output is the following:
cargo-modules orphan --manifest-path=path/to/package/Cargo.toml
Error: Multiple packages present in workspace, please explicitly select one via --package flag. Packages present in workspace: - foo - bar - ...
However, I would expect that when providing the manifest path of a specific package, the --package argument should not be necessary.
--package
That's a fair point, indeed. And shouldn't be too hard to fix. I'm heading off to a few weeks of vacation, but feel free to give it a shot in the meanwhile, if you like.
Hi! When running
cargo-modules orphan --manifest-path=path/to/package/Cargo.toml
in a workspace, the output is the following:However, I would expect that when providing the manifest path of a specific package, the
--package
argument should not be necessary.