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

Option validations #38

Open
dmitrypol opened this issue Nov 27, 2017 · 1 comment
Open

Option validations #38

dmitrypol opened this issue Nov 27, 2017 · 1 comment
Labels
Triage: Feature Request Indicates an issue requesting new functionality.

Comments

@dmitrypol
Copy link

I have this in my CLI

  option :date,
    short:      "-d DATE",
    long:       "--date DATE",
    required:   true,
    description:  "date in 20171120 format"

Is there a way to add validation for date (and other fields) to ensure that they follow specific pattern?

@majormoses
Copy link

I do not believe it is possible currently but I would also very much like this as well.

@tas50 tas50 added the Triage: Feature Request Indicates an issue requesting new functionality. label Oct 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Triage: Feature Request Indicates an issue requesting new functionality.
Projects
None yet
Development

No branches or pull requests

3 participants