{"modulePath":"github.com/docker/compose-cli","version":"v1.0.35","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package cmd\n\n## Functions\n\n```go\nfunc EcsCommand() *cobra.Command\n```\nEcsCommand is a placeholder to drive early users to the integrated form of ecs support instead of its early plugin form\n\n```go\nfunc ExecCommand() *cobra.Command\n```\nExecCommand runs a command in a running container\n\n```go\nfunc InspectCommand() *cobra.Command\n```\nInspectCommand inspects into containers\n\n```go\nfunc KillCommand() *cobra.Command\n```\nKillCommand kills containers\n\n```go\nfunc LogsCommand() *cobra.Command\n```\nLogsCommand fetches and shows logs of a container\n\n```go\nfunc MetadataCommand() *cobra.Command\n```\nMetadataCommand command to display version\n\n```go\nfunc PruneCommand() *cobra.Command\n```\nPruneCommand deletes backend resources\n\n```go\nfunc PsCommand() *cobra.Command\n```\nPsCommand lists containers\n\n```go\nfunc RmCommand() *cobra.Command\n```\nRmCommand deletes containers\n\n```go\nfunc SecretCommand() *cobra.Command\n```\nSecretCommand manage secrets\n\n```go\nfunc ServeCommand() *cobra.Command\n```\nServeCommand returns the command to serve the API\n\n```go\nfunc StartCommand() *cobra.Command\n```\nStartCommand starts containers\n\n```go\nfunc StopCommand() *cobra.Command\n```\nStopCommand deletes containers\n\n```go\nfunc VersionCommand() *cobra.Command\n```\nVersionCommand command to display version\n\n## Types\n\n```go\ntype BackendMetadata struct {\n\tName    string\n\tVersion string\n}\n```\nBackendMetadata backend metadata TODO import this from cli when merged \u0026 available in /docker/cli\n\n```go\ntype ContainerInspectView struct {\n\tID          string\n\tStatus      string\n\tImage       string\n\tCommand     string                    `json:\",omitempty\"`\n\tHostConfig  *containers.HostConfig    `json:\",omitempty\"`\n\tPorts       []containers.Port         `json:\",omitempty\"`\n\tConfig      *containers.RuntimeConfig `json:\",omitempty\"`\n\tPlatform    string\n\tHealthcheck *containerInspectHealthcheck `json:\",omitempty\"`\n}\n```\nContainerInspectView inspect view\n\n","path":"github.com/docker/compose-cli/cli/cmd","name":"cmd","synopsis":"","isRedistributable":true}
