Skip to content

Commit

Permalink
Update examples with new column output (#101)
Browse files Browse the repository at this point in the history
Signed-off-by: Matt Rutkowski <[email protected]>
  • Loading branch information
mrutkows authored Jun 3, 2024
1 parent 19c12b2 commit be1df26
Showing 1 changed file with 16 additions and 17 deletions.
33 changes: 16 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2003,22 +2003,21 @@ Currently, all `resource list` command results are sorted by resource `type` the
```

```bash
resource-type group name version description bom-ref
------------- ----- ---- ------- ----------- -------
component ACME Application 2.0.0 ACME sample application pkg:app/[email protected]
component Library A 1.0.0 Library A description pkg:lib/[email protected]
component Library C 1.0.0 Library C description. pkg:lib/[email protected]
component Library F 1.0.0 Library F description. pkg:lib/[email protected]
component Library G 1.0.0 Library G description. pkg:lib/[email protected]
component Library H 1.0.0 Library H description. pkg:lib/[email protected]
component Library NoLicense 1.0.0 Library "NoLicense" description. pkg:lib/[email protected]
component blue Library B 1.0.0 Library B description. pkg:lib/[email protected]
component blue Library E 1.0.0 Library E description. pkg:lib/[email protected]
component green Library D 1.0.0 Library D description. pkg:lib/[email protected]
component green Library J 1.0.0 Library J description. pkg:lib/[email protected]
service Bar Bar service service:example.com/myservices/bar
service Foo Foo service service:example.com/myservices/foo

bom-ref resource-type group name version description
------- ------------- ----- ---- ------- -----------
pkg:app/[email protected] component ACME Application 2.0.0 ACME sample application
pkg:lib/[email protected] component Library A 1.0.0 Library A description
pkg:lib/[email protected] component Library C 1.0.0 Library C description.
pkg:lib/[email protected] component Library F 1.0.0 Library F description.
pkg:lib/[email protected] component Library G 1.0.0 Library G description.
pkg:lib/[email protected] component Library H 1.0.0 Library H description.
pkg:lib/[email protected] component Library NoLicense 1.0.0 Library "NoLicense" description.
pkg:lib/[email protected] component blue Library B 1.0.0 Library B description.
pkg:lib/[email protected] component blue Library E 1.0.0 Library E description.
pkg:lib/[email protected] component green Library D 1.0.0 Library D description.
pkg:lib/[email protected] component green Library J 1.0.0 Library J description.
service:example.com/myservices/bar service Bar Bar service
service:example.com/myservices/foo service Foo Foo service
```

##### Example: resource list using `--type service`
Expand Down Expand Up @@ -2085,7 +2084,7 @@ This command supports the `--format` flag with any of the following values:
```bash
name variant format version file url
---- ------- ------ ------- ---- ---
CycloneDX v1.6 development CycloneDX 1.6 schema/cyclonedx/1.6/bom-1.6.schema.json https://raw.githubusercontent.com/CycloneDX/specification/1.6-dev/schema/bom-1.6.schema.json
CycloneDX v1.6 (latest) CycloneDX 1.6 schema/cyclonedx/1.6/bom-1.6.schema.json https://raw.githubusercontent.com/CycloneDX/specification/master/schema/bom-1.6.schema.json
CycloneDX v1.5 (latest) CycloneDX 1.5 schema/cyclonedx/1.5/bom-1.5.schema.json https://raw.githubusercontent.com/CycloneDX/specification/master/schema/bom-1.5.schema.json
CycloneDX v1.4 (latest) CycloneDX 1.4 schema/cyclonedx/1.4/bom-1.4.schema.json https://raw.githubusercontent.com/CycloneDX/specification/master/schema/bom-1.4.schema.json
CycloneDX v1.4 custom CycloneDX 1.4 schema/test/bom-1.4-custom.schema.json
Expand Down

0 comments on commit be1df26

Please sign in to comment.