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

Empty arg error handling #15

Closed
s0kil opened this issue Sep 4, 2018 · 0 comments
Closed

Empty arg error handling #15

s0kil opened this issue Sep 4, 2018 · 0 comments

Comments

@s0kil
Copy link

s0kil commented Sep 4, 2018

It would be great to have a simple way to handle if no argument is provided.
Ex:

define_argument name : String,
  description: "The name of the new project",
  required: false,
  empty: "Please provide the name"
djmaze added a commit to djmaze/admiral.cr that referenced this issue Sep 30, 2018
djmaze added a commit to djmaze/admiral.cr that referenced this issue Sep 30, 2018
@jwaldrip jwaldrip closed this as completed Jul 2, 2020
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