cmd

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute()

Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

func NewConfig

func NewConfig(root *cobra.Command)

func NewInit added in v0.2.0

func NewInit(root *cobra.Command)

NewInit represents the init command

func NewInstall

func NewInstall(root *cobra.Command)

NewInstall represents the install command

func NewRoot

func NewRoot() *cobra.Command

NewRoot represents the base command when called without any subcommands

func NewVersion

func NewVersion(root *cobra.Command)

Types

This section is empty.

Jump to

Keyboard shortcuts

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