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

Make argument required unless option is set #12

Open
tjhanley opened this issue Feb 27, 2018 · 4 comments
Open

Make argument required unless option is set #12

tjhanley opened this issue Feb 27, 2018 · 4 comments
Assignees

Comments

@tjhanley
Copy link

Is there a way to have something like this

cmd subcommand start [--branch BRANCH] [TICKET]

I want TICKET to be required unless --branch is specified

@savonarola savonarola self-assigned this Feb 28, 2018
@savonarola
Copy link
Contributor

Hello!

This is currently impossible. But I consider to implement some option deps.

@tjhanley
Copy link
Author

great. I'll keep an eye out for it.

@tjhanley
Copy link
Author

tjhanley commented Mar 6, 2018

@savonarola FYI I cited Optimus in our latest blog post: https://wecode.wepay.com/posts/wetools-an-elixir-cli

@savonarola
Copy link
Contributor

Wow, It's always nice to see the tool being useful! %)

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