etcd-analysis icon indicating copy to clipboard operation
etcd-analysis copied to clipboard

The simple command remove the param

Open SimFG opened this issue 2 years ago • 0 comments

use the flag, like:

// register
cmd.Flags().Bool("foo", false, "demo")
// get the param
cmd.Flags().GetString("foo")

SimFG avatar Mar 21 '23 07:03 SimFG