etcd-analysis
etcd-analysis copied to clipboard
The simple command remove the param
use the flag, like:
// register
cmd.Flags().Bool("foo", false, "demo")
// get the param
cmd.Flags().GetString("foo")