(feat) make noise instead of ignoring flags passed behind filename
Open
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 23.1k
- Forks
- 1.1k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 9
Description
This command will silently ignore the --output flag and its passed value.
sops -d encrypted_secret.json --output decrypted_secret.json
I think it would make sense to let this error instead, otherwise issues like https://github.com/mozilla/sops/issues/658#issuecomment-617873253 will show up.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the command shown in the issue: sops -d encrypted_secret.json --output decrypted_secret.json, then trace the command-line argument handling that accepts flags after the filename. Done means this ordering no longer silently ignores --output and its value, but instead reports an error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 48/100