cmd

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RootCmd

type RootCmd struct {
	// contains filtered or unexported fields
}

RootCmd is the root command.

func NewRootCmd

func NewRootCmd() *RootCmd

NewRootCmd instantiates the root command, setting up the global flags.

func (*RootCmd) Cmd

func (r *RootCmd) Cmd() *cobra.Command

Cmd exposes the root command, while instantiating the subcommand and their requirements.

Jump to

Keyboard shortcuts

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