Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update examples with new column output #101

Merged
merged 1 commit into from
Jun 3, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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