Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ComposeCommand = &cobra.Command{ Use: "compose", Short: "Run Docker Compose with Mutagen enhancements [Experimental]", RunE: wrapper(composeMain), SilenceUsage: true, TraverseChildren: true, }
ComposeCommand is the root command of the compose command hierarchy.
var RootCommand = &cobra.Command{ Use: ComposeCommand.Use, Short: ComposeCommand.Short, Run: rootMain, SilenceUsage: true, DisableFlagParsing: true, }
RootCommand is an adapter command that shifts control flow from the Mutagen command hierarchy to the Docker Compose command hierarchy. The Docker Compose command hierarchy uses complex Cobra behaviors (such as TraverseChildren, SetInterspersed, and DisableFlagParsing) to emulate Docker Compose behavior, and these behaviors make it better suited to operate as a detached command hierarchy. TraverseChildren in particular has to be applied at the hierarchy root and changes certain behaviors (such as command-not-found errors), so we really want to isolate its effects.
Functions ¶
This section is empty.
Types ¶
This section is empty.