Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

Added support for setting default commands #10

Closed

Conversation

kyleterry
Copy link

I ran into a situation where I needed my program to just launch
something with no subcommand, but also have a set of subcommands to
interact with data and a running daemon. All bases should be covered
here (tests, help text, etc...).

I ran into a situation where I needed my program to just launch
something with no subcommand, but also have a set of subcommands to
interact with data and a running daemon. All bases should be covered
here (tests, help text, etc...).
@kyleterry
Copy link
Author

Is this a no?

@yegle yegle mentioned this pull request May 6, 2015
@mitchellh
Copy link
Owner

Hi! Sorry, I added this in a slightly different way here: b097e4d

I saw this after I already did the implementation (committed later). Sorry!

@mitchellh mitchellh closed this Jun 1, 2015
@kyleterry
Copy link
Author

oookay

@yegle
Copy link

yegle commented Jun 4, 2015

Hi @kyleterry

In case you are interested: I implemented a SubcommandChooser which I believe covers your use case #20

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants