cli

package
v0.9.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 5, 2026 License: BSD-3-Clause-LBNL Imports: 9 Imported by: 0

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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL