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

Add Args.Swap command for swapping arguments #112

Merged
merged 1 commit into from
Jul 15, 2014

Conversation

AudriusButkevicius
Copy link
Contributor

The usecase:
my-cli user <USERID> set <FIELD> <VALUE>

Being able to swap <USERID> with set argument, we can have nested subcommands while preserving all variable arguments along the way.

The usecase:
my-cli user <USERID> set <FIELD> <VALUE>

Being able to swap <USERID> with set argument, we can have nested subcommands while preserving all variable arguments along the way.
@codegangsta
Copy link
Contributor

This is useful. Landing

codegangsta added a commit that referenced this pull request Jul 15, 2014
Add Args.Swap command for swapping arguments
@codegangsta codegangsta merged commit 27ecc97 into urfave:master Jul 15, 2014
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

Successfully merging this pull request may close these issues.

2 participants