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

CLI flags parsing #79

Closed
odino opened this issue Dec 25, 2018 · 0 comments
Closed

CLI flags parsing #79

odino opened this issue Dec 25, 2018 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@odino
Copy link
Collaborator

odino commented Dec 25, 2018

--opt
-flag
arg # already implemented

Probably worth to keep a simple interface such as flag("--f").

Now, since strings evaluate to false when empty, it might be a bit tricky to do this nicely. We might want to return true when empty, false when not set, and the string when the flag has a value.

@odino odino added the enhancement New feature or request label Dec 25, 2018
@odino odino modified the milestones: preview-2, preview-3, 1.0 Dec 25, 2018
@odino odino closed this as completed in c23a2bb Jan 15, 2019
@odino odino modified the milestones: 1.0, preview-4 Jan 22, 2019
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