error when passing in a CLI flag that's already in config #266
Open
Description
Because of how config stuff works (by passing in "fake" CLI args), if you try to pass a command line flag that's already configured through oro.kdl
, it will error telling you there's duplicate flags.
Instead, we should filter the list of flags-from-config such that we don't try to apply the config one if we have a CLI one already.
Repro steps:
- Create an
oro.kdl
file withoptions { lockfile-only; }
, in a basic js project - run
cargo run -- apply --lockfile-only
Metadata
Assignees
Type
Projects
Status
Backlog