Documentation ¶
Overview ¶
Package cmd provides functions set and get with cobra library
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(opts ...RootOptions) *root
New function create commands to the cobra CLI RootOptions adds additional features to the cobra CLI
Types ¶
type RootOptions ¶
type RootOptions func(o *options)
func Version ¶
func Version(ver string) RootOptions
Version is optional function can add version flag to root
Click to show internal directories.
Click to hide internal directories.