package
Version:
v0.6.0
Opens a new window with list of versions in this module.
Published: Sep 20, 2022
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 4
Opens a new window with list of known importers.
Documentation
¶
Command takes a struct pointer (optionally with tagged fields), and produces a
cobra.Command with flags set up to populate the values of the struct.
func Execute(main interface{}) error
Execute creates a cobra.Command using cobrafy.Command and then calls its
Execute() method, returning the error.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.