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

Ideas: Add enums, filepath, dirpath, constants #91

Open
Swoorup opened this issue Dec 9, 2022 · 1 comment
Open

Ideas: Add enums, filepath, dirpath, constants #91

Swoorup opened this issue Dec 9, 2022 · 1 comment

Comments

@Swoorup
Copy link

Swoorup commented Dec 9, 2022

Thoughts on adding enums, file path, directory path types to options?
These options allow restricted subset of strings to be passed as flags

@Swoorup Swoorup changed the title Options ideas Options ideas: Add enums, filepath, dirpath Dec 9, 2022
@Swoorup Swoorup changed the title Options ideas: Add enums, filepath, dirpath Ideas: Add enums, filepath, dirpath, constants Dec 9, 2022
@jacobdeichert
Copy link
Owner

jacobdeichert commented Dec 13, 2022

Specifying a list of accepted values for a flag/option could be a nice user experience (preventing typos, documentation).

A file/directory path flag type could be nice as well. We could verify it's correctly formatted before it reaches the script.

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

No branches or pull requests

2 participants