You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Shell completions for flags taking filename arguments are somewhat inconsistent across cosign with regards to how the suggested filenames are being filtered. Will file a PR to improve this.
The text was updated successfully, but these errors were encountered:
scop
added a commit
to scop/cosign
that referenced
this issue
Jan 30, 2025
Be more consistent across with extensions accepted/filtered, add some.
Also, mark and comment out cases where there are no known typical
filename extensions for flags taking filename arguments, to make it
obvious that they have not been inadvertently omitted. Marking a flag as
filename without specifying extensions is a no-op, and actually
considered a bug per commentary in cobra sources:
https://github.com/spf13/cobra/blob/41b26ec8bb59dfba580f722201bf371c4f5703dd/completions.go#L387-L390Closessigstore/community#538
Signed-off-by: Ville Skyttä <[email protected]>
Be more consistent across with extensions accepted/filtered, add some.
Also, mark and comment out cases where there are no known typical
filename extensions for flags taking filename arguments, to make it
obvious that they have not been inadvertently omitted. Marking a flag as
filename without specifying extensions is a no-op, and actually
considered a bug per commentary in cobra sources:
https://github.com/spf13/cobra/blob/41b26ec8bb59dfba580f722201bf371c4f5703dd/completions.go#L387-L390Closessigstore/community#538
Signed-off-by: Ville Skyttä <[email protected]>
Shell completions for flags taking filename arguments are somewhat inconsistent across cosign with regards to how the suggested filenames are being filtered. Will file a PR to improve this.
The text was updated successfully, but these errors were encountered: