We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add shorthand options to flags. For example,
diceware-cli generate --size=4 --copy
It could be shortened to:
diceware-cli generate -s=4 -c
To achieve that, the Flags method should be updated to use the suffixed P version.
P
-- generateCmd.Flags().StringVar(&dicewareConfig.Lang, "lang", "en", "password language\n available langs: en, pt") ++ generateCmd.Flags().StringVarP(&dicewareConfig.Lang, "lang", "l", "en", "password language\n available langs: en, pt")
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Add shorthand options to flags. For example,
It could be shortened to:
To achieve that, the Flags method should be updated to use the suffixed
P
version.The text was updated successfully, but these errors were encountered: