-
Notifications
You must be signed in to change notification settings - Fork 911
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
Please add support for "govc --version" and "govc --help" #3054
Comments
Howdy 🖐 CarstenGrohmann ! Thank you for your interest in this project. We value your feedback and will respond soon. If you want to contribute to this project, please make yourself familiar with the |
There is a version command: % govc version
govc 0.30.4 Summary and examples are included in the help for each command: % govc vm.create -h
Usage: govc vm.create [OPTIONS] NAME
Create VM.
For a list of possible '-g' IDs, use 'govc vm.option.info' or see:
https://code.vmware.com/apis/358/vsphere/doc/vim.vm.GuestOsDescriptor.GuestOsIdentifier.html
Examples:
govc vm.create -on=false vm-name
govc vm.create -cluster cluster1 vm-name # use compute cluster placement
govc vm.create -datastore-cluster dscluster vm-name # use datastore cluster placement
govc vm.create -m 2048 -c 2 -g freebsd64Guest -net.adapter vmxnet3 -disk.controller pvscsi vm-name
Options:
-annotation= VM description
... There is also a markdown doc generated from this: https://github.com/vmware/govmomi/blob/main/govc/USAGE.md But agree, just listing all the command names with Line 58 in c2cf82e
|
Is your feature request related to a problem? Please describe.
Please add support for
govc --help
,govc -h
andgovc --version
togovc
.Currently all three options are not available. If you call
govc --help
now, it prints more than 300 different options as a single list. This is very confusing.Describe the solution you'd like
govc --version
is callinggovc version
internally:govc --help
return a usage message like:For example, some commands have the option
--full-help
to show all details and--help
shows only a short summary.Alternatively, you could add a
--list-actions
option to show all available actions.The text was updated successfully, but these errors were encountered: