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

Same flag for different commands #236

Closed
Nhoya opened this issue Mar 26, 2018 · 1 comment
Closed

Same flag for different commands #236

Nhoya opened this issue Mar 26, 2018 · 1 comment

Comments

@Nhoya
Copy link

Nhoya commented Mar 26, 2018

Hi, i'm the situation where i'v two commands

update and delete and both need the command url to be specified, #36 and i was wondering if now there is a more elegant solution since is 3 years old.

Thanks in advance for the help

@alecthomas
Copy link
Owner

With v3-unstable you can use embedded structs to achieve this, but no not in general.

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