cmd

package
v2.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2026 License: MIT Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRootCmd

func NewRootCmd(version string) *cobra.Command

NewRootCmd creates the root command.

func NewRootCmdWithFactory

func NewRootCmdWithFactory(version string) (*cobra.Command, *cmdutil.Factory)

NewRootCmdWithFactory creates the root command and returns the shared Factory so callers (e.g. main.go) can inspect runtime-resolved state like the selected output format after execution.

Types

This section is empty.

Jump to

Keyboard shortcuts

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