Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Improve Organization of Flags for Sign/Verify? #1153

Open
tri-adam opened this issue Nov 29, 2022 · 0 comments
Open

Improve Organization of Flags for Sign/Verify? #1153

tri-adam opened this issue Nov 29, 2022 · 0 comments
Labels
enhancement New feature or request question Further information is requested

Comments

@tri-adam
Copy link
Member

As mentioned by @fnikolai in #1095 (comment), it might be useful to organize the increasing number of flags in singularity sign and singularity verify:

Perhaps something along these lines?

$ singularity sign --help
...
PGP flags:
      --whatever string                                                                                                                                                                                                      
                Some Whatever message Here
      ....

X509 flags:
      --certificate
                Path to x509 certificate
      --key
                Path to x509 key
      ....

There is something called 'NamedFlagSets' that could help us with grouping the flags.
spf13/cobra#1327

@tri-adam tri-adam added enhancement New feature or request question Further information is requested labels Nov 29, 2022
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant