cmd

package
v0.8.5 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: MIT Imports: 25 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 Init added in v0.2.0

func Init(provider plugin.Provider)

func NewBrew added in v0.8.0

func NewBrew(root *cobra.Command)

NewBrew represents the dependencies command

func NewConfig added in v0.8.0

func NewConfig(root *cobra.Command)

NewConfig represents the config command

func NewExecute added in v0.8.0

func NewExecute(root *cobra.Command)

NewExecute represents the exec command

func NewInit added in v0.8.0

func NewInit(root *cobra.Command)

NewInit represents the init command

func NewPrompt added in v0.8.0

func NewPrompt(root *cobra.Command)

NewPrompt represents the prompt command

func NewRequire added in v0.8.0

func NewRequire(root *cobra.Command)

NewRequire represents the require command

func NewRoot added in v0.8.0

func NewRoot() *cobra.Command

NewRoot represents the base command when called without any subcommands

func NewVersion added in v0.8.0

func NewVersion(root *cobra.Command)

NewVersion represents the version command

Types

This section is empty.

Jump to

Keyboard shortcuts

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