{"modulePath":"github.com/docker/compose-cli","version":"v1.0.35","isLatest":true,"isStandardLibrary":false,"goos":"linux","goarch":"amd64","docs":"# package mobycli\n\n## Variables\n\n```go\nvar ComDockerCli = \"com.docker.cli\"\n```\nComDockerCli name of the classic cli binary\n\n## Functions\n\n```go\nfunc CliHintsEnabled() bool\n```\n\n```go\nfunc CliVersion() string\n```\nCliVersion returns the docker cli version\n\n```go\nfunc Exec(_ *cobra.Command)\n```\nExec delegates to com.docker.cli if on moby context\n\n```go\nfunc ExecIfDefaultCtxType(ctx context.Context, root *cobra.Command)\n```\nExecIfDefaultCtxType delegates to com.docker.cli if on moby context\n\n```go\nfunc ExecSilent(ctx context.Context, args ...string) ([]byte, error)\n```\nExecSilent executes a command and do redirect output to stdOut, return output\n\n```go\nfunc IsDefaultContextCommand(dockerCommand string) bool\n```\nIsDefaultContextCommand checks if the command exists in the classic cli (issues a shellout --help)\n\n```go\nfunc RunDocker(childExit chan bool, args ...string) error\n```\nRunDocker runs a docker command, and forward signals to the shellout command (stops listening to signals when an event is sent to childExit)\n\n","path":"github.com/docker/compose-cli/cli/mobycli","name":"mobycli","synopsis":"","isRedistributable":true}
