Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Cmd = &cobra.Command{ Use: "1build", Version: "1.4.0", Short: "Frictionless way of managing project-specific commands", Args: cobra.MinimumNArgs(0), PreRun: func(cmd *cobra.Command, args []string) { _, err := configuration.LoadOneBuildConfiguration() if err != nil { fmt.Println(err) utils.ExitError() } }, Run: func(cmd *cobra.Command, args []string) { if len(args) < 1 { list.Cmd.Run(cmd, args) } else { exec.ExecutePlan(args...) } }, }
Cmd cobra for root level
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.