cmd

package
v0.0.11 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CreateCmd = CreateCmdFn()
View Source
var InfraCmd = InfraCmdFn()
View Source
var InitCmd = InitCmdFn()
View Source
var RootCmd = RootCmdFn()

RootCmd is the command variable of root command picky.

View Source
var ServiceCmd = ServiceCmdFn()
View Source
var StacksCmd = StacksCmdFn()
View Source
var TestCommand = TestCommandFn()

Functions

func CreateCmdFn

func CreateCmdFn() *cobra.Command

func CreateService

func CreateService(cmd *cobra.Command, args []string) error

func Execute

func Execute() error

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 InfraCmdFn

func InfraCmdFn() *cobra.Command

func InfraSetup

func InfraSetup(cmd *cobra.Command, args []string) error

func InitCmdFn

func InitCmdFn() *cobra.Command

func InitStack

func InitStack(cmd *cobra.Command, args []string) error

func RootCmdFn

func RootCmdFn() *cobra.Command

RootCmd represents the base command when called without any subcommands

func RunService

func RunService(*cobra.Command, []string) error

func RunStacks

func RunStacks(cmd *cobra.Command, args []string) error

func RunTest

func RunTest(*cobra.Command, []string) error

func ServiceCmdFn

func ServiceCmdFn() *cobra.Command

ServiceCmdFn represents the ServiceCmd command

func StacksCmdFn

func StacksCmdFn() *cobra.Command

func TestCommandFn

func TestCommandFn() *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