-
Notifications
You must be signed in to change notification settings - Fork 16
Proposed subcommand Structure #34
Comments
I think personally I would still prefer to structure around services like
Where general commands don't have no 'service' specifier:
|
This seems great for the OpenShift use case and ugly for the docker+K8s use case. I feel like with one call I should get the env info I need. For Docker+K8s I need two. If I don't know the status of the box, I have N calls until I find one that returns data. |
+1 |
why? What's the difference for the two use cases? Note, the |
@hferentschik When not using and IDE I need to call service manager twice. Once to enable the docker cli and once to enable kubectl. With verb first one call enables both. I can choose to be more fine grained if I want too |
But should |
Hmm, What about making kubernetes auto-configure docker, as you will always need docker in this case? |
|
added following line in the original issue comment:
|
what's the difference to #8? Which version are we taking about here? and why 'box'? |
No difference. Its the same thing.
This issue is updated to show the new command added to display the version of vagrant box. |
Ok, got you.
Got you. I was first thinking why not |
Correct, Idea behind using |
got you. nice one |
Closing this is either implemented or in progress. |
This plugin supports a subcommand structure. The proposed structure is
vagrant service-manager [noun] [arguments|sub-sub commands]
For example:
vagrant service-manager help
- return help informationvagrant service-manager env
- return information about all configured servicesvagrant service-manager env docker
- return information only about the docker servicevagrant service-manager box version
- return information about box versionFuture commands will follow this pattern.
The bare verb should return all of a concept. The noun should restrict it.
New verbs are added when at least 50% of hte supported services have a logical use for them.
There will be a generic verb for use when only one or a few services needs a special subcommand.
changelog:
@navidshaikh: Added subcommand for printing box version.
The text was updated successfully, but these errors were encountered: