cmd

package
v0.0.19 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// AppVersion is the global CLI application version
	AppVersion string
	// GitService for the cmd package
	GitService git.Git
)

Functions

func Execute

func Execute()

Execute is the app-wide CLI entrypoint

Types

type RootCmd

type RootCmd struct {
	Cmd *cobra.Command
}

RootCmd is a global cmd package abstraction struct

func NewRootCmd

func NewRootCmd() *RootCmd

NewRootCmd returns the application and global facing root cobra command

func (*RootCmd) LoadSubCommands

func (r *RootCmd) LoadSubCommands()

LoadSubCommands loads the sub-commands of RootCmd.Cmd

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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