compose

package
v0.12.0-nightly2021041301 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2021 License: MIT Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
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.

View Source
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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL