contextual help for sub commands? #2871
-
Just wondering if I am missing something. How do you get help for the various subcommands? If there isn't a way, would be nice if there was some way to bring up some help/examples with the command itself. |
Beta Was this translation helpful? Give feedback.
Answered by
embano1
Jun 8, 2022
Replies: 1 comment 1 reply
-
Do you mean govc vsan.info -h
Usage: govc vsan.info [OPTIONS] CLUSTER...
Display vSAN configuration.
Examples:
govc vsan.info
govc vsan.info ClusterA
govc vsan.info -json
Options:
-cert= Certificate [GOVC_CERTIFICATE]
-dc= Datacenter [GOVC_DATACENTER]
-debug=false Store debug logs [GOVC_DEBUG]
-dump=false Enable Go output
-json=false Enable JSON output
-k=false Skip verification of server certificate [GOVC_INSECURE]
-key= Private key [GOVC_PRIVATE_KEY]
-persist-session=true Persist session to disk [GOVC_PERSIST_SESSION]
-tls-ca-certs= TLS CA certificates file [GOVC_TLS_CA_CERTS]
-tls-known-hosts= TLS known hosts file [GOVC_TLS_KNOWN_HOSTS]
-trace=false Write SOAP/REST traffic to stderr
-u= ESX or vCenter URL [GOVC_URL]
-verbose=false Write request/response data to stderr
-vim-namespace=vim25 Vim namespace [GOVC_VIM_NAMESPACE]
-vim-version=7.0 Vim version [GOVC_VIM_VERSION]
-xml=false Enable XML output |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
tenthirtyam
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Do you mean
govc
? Not sure if this answers your question, but do you mean something like this?