cmd

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2026 License: MIT Imports: 31 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute() error

Execute creates the root command and runs it. Returns an error on failure; the caller (main) is responsible for os.Exit.

func NewRootCommand

func NewRootCommand() *cobra.Command

NewRootCommand creates and returns the fully-configured root cobra command with all subcommands and flags registered. This replaces the previous init()-based registration for better testability.

Types

This section is empty.

Jump to

Keyboard shortcuts

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