Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Execute ¶
func Execute(rootCmd *domain.RootCommand, args []string, options ...domain.RootOption) error
Execute runs the root command with given args and optional RootOptions, returning any error. It constructs the root command, executes it via simplecobra, and displays help on failure.
func NewRootService ¶ added in v0.9.3
func NewRootService() *domain.RootCommand
NewRootService creates the root command with name "gdg" and subcommands for version, default config, tools, and backup utilities.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.