Skip to content
New issue

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 cmdlime::Format::GNUWindows #34

Open
kamchatka-volcano opened this issue Jul 23, 2023 · 0 comments
Open

Add cmdlime::Format::GNUWindows #34

kamchatka-volcano opened this issue Jul 23, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@kamchatka-volcano
Copy link
Owner

kamchatka-volcano commented Jul 23, 2023

This is the GNU format with the ability to register alternative names starting with a forward slash.

All names are in kebab-case.
Parameters and flags prefix: --
Short names are supported. Short names prefix: -
Parameters usage: --parameter value--parameter=value-p value or -pvalue. /parameter:value and /parameter value are also supported, they have to be enabled with << WithSlashForm{} modifier or <<WithShortNameSlashForm to add /p:value or /p value, or << SlashName{"custom-name"} and << SlashShortName{"c"} to override an automatic name generation.
Flags usage: --flag-f. /flag or /f are also supported. They have to be enabled with << WithSlashForm{} or <<WithShortNameSlashForm modifiers, or << SlashName{"custom-name"} and << SlashShortName{"c"} to override an automatic name generation.
Flags in short form (except those that start with a slash) can be "glued" together: -abc or with one parameter: -fp value.
Default help flag: -h--help-?, or /?.

@kamchatka-volcano kamchatka-volcano added the enhancement New feature or request label Jul 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant