Merge pull request #65 from anchore/dir-helpmenu

cmd: add directory scan help entry
This commit is contained in:
Alfredo Deza 2020-07-24 15:34:14 -04:00 committed by GitHub
commit 4eea5d00fc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -20,6 +20,7 @@ var rootCmd = &cobra.Command{
Short: "A vulnerability scanner for container images and filesystems", // TODO: add copy, add path-based scans
Long: format.Tprintf(`Supports the following image sources:
{{.appName}} yourrepo/yourimage:tag defaults to using images from a docker daemon
{{.appName}} dir://path/to/yourrepo do a directory scan
{{.appName}} docker://yourrepo/yourimage:tag explicitly use a docker daemon
{{.appName}} tar://path/to/yourimage.tar use a tarball from disk
`, map[string]interface{}{