Skip to content

Conversation

felixfontein
Copy link
Contributor

When warning, also inform about potentially ignored flags.

This improves UX because right now, many users find out that some of their flags are "ignored" (because the CLI library treats them as positional arguments, and sops only uses the first one of them). See for example #1259 or #598.

Either #1274 or this PR needs to be adjusted, whatever is merged first, since this PR is adding a warning for updatekeys, while that PR allows updatekeys to process multiple filenames.

felixfontein and others added 2 commits December 16, 2023 17:21
When warning, also inform about potentially ignored flags.

Signed-off-by: Felix Fontein <felix@fontein.de>
Co-authored-by: Hidde Beydals <hiddeco@users.noreply.github.com>
Signed-off-by: Felix Fontein <felix@fontein.de>
@felixfontein felixfontein merged commit 7655a68 into getsops:main Dec 16, 2023
@felixfontein felixfontein deleted the cli branch December 16, 2023 16:58
@felixfontein
Copy link
Contributor Author

@hiddeco thanks for reviewing!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants