Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RootCmd = &cobra.Command{ Use: "doriath", Short: "A simple tool to manage docker build graph", Long: `A simple tool to manage docker build graph`, PersistentPreRun: func(cmd *cobra.Command, args []string) { for _, variable := range variableArray { segments := strings.SplitN(variable, "=", 2) if len(segments) != 2 { fmt.Fprintf(os.Stderr, "Invalid variable: %s\n", variable) os.Exit(2) } variableMap[segments[0]] = segments[1] } }, }
RootCmd represents the base command when called without any subcommands
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.