Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Cmd = &cobra.Command{ Use: "up [flags] [-- <args>, ...]", Short: "Try to run make up, docker-compose up, go run main.go", Run: func(c *cobra.Command, args []string) { if checkMakeUp() { fmt.Println("slu up: make up") exec_utils.ExecOut("make", append([]string{"up"}, args...)...) } else if checkDockerComposeUp() { fmt.Println("slu up: docker compose up") exec_utils.ExecOut("docker", append([]string{"compose", "up"}, args...)...) } else if checkGoRunMailGO() { fmt.Println("slu up: go run main.go") exec_utils.ExecOut("go", append([]string{"run", "main.go"}, args...)...) } }, }
View Source
var FlagJson bool
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.