{"modulePath":"github.com/ringtail/container-diff","version":"v0.5.2","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package cmd\n\n## Constants\n\n```go\nconst (\n\tDaemonPrefix = \"daemon://\"\n\tRemotePrefix = \"remote://\"\n)\n```\n\n## Variables\n\n```go\nvar LogLevel string\n```\n\n```go\nvar RootCmd = \u0026cobra.Command{\n\tUse:   \"container-diff\",\n\tShort: \"container-diff is a tool for analyzing and comparing container images\",\n\tLong: `container-diff is a CLI tool for analyzing and comparing container images.\n\nImages can be specified from either a local Docker daemon, or from a remote registry.\nTo specify a local image, prefix the image ID with 'daemon://', e.g. 'daemon://gcr.io/foo/bar'.\nTo specify a remote image, prefix the image ID with 'remote://', e.g. 'remote://gcr.io/foo/bar'.\nIf no prefix is specified, the local daemon will be checked first.\n\nTarballs can also be specified by simply providing the path to the .tar, .tar.gz, or .tgz file.`,\n\tPersistentPreRun: func(c *cobra.Command, s []string) {\n\t\tll, err := logrus.ParseLevel(LogLevel)\n\t\tif err != nil {\n\t\t\tfmt.Println(err)\n\t\t\tos.Exit(1)\n\t\t}\n\t\tlogrus.SetLevel(ll)\n\t},\n}\n```\n\n","path":"github.com/ringtail/container-diff/cmd","name":"cmd","synopsis":"","isRedistributable":true}
