mirror of
https://github.com/anchore/syft.git
synced 2026-11-01 23:16:30 +01:00
simplify command alias logic + remove deprecation warning for root command
Signed-off-by: Alex Goodman <alex.goodman@anchore.com>
This commit is contained in:
@@ -22,6 +22,9 @@ If you encounter an issue, please [let us know using the issue tracker](https://
|
||||
To generate an SBOM for a Docker or OCI image:
|
||||
```
|
||||
syft packages <image>
|
||||
|
||||
# note: this is the same as not providing the "packages" subcommand
|
||||
syft <image>
|
||||
```
|
||||
|
||||
The above output includes only software that is visible in the container (i.e., the squashed representation of the image).
|
||||
|
||||
Reference in New Issue
Block a user