You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
--output-file #0 Path to the output file. Set to "-" to write to STDOUT.
65
-
(default: write to STDOUT)
66
-
--production,--prod Exclude development dependencies.
67
-
(defaults to 'true' if the environment variable "NODE_ENV" is set to "production"')
68
-
--component-type #0 Type of component described by the generated SBOM. (choices: "application", "framework", "library", "container", "platform", "device-driver")
69
-
Default: application
70
-
--licenses Include license information for components in generated SBOM. License information will always be absent for components that don't specify licenses unambigously.
71
-
Default: Licenses are not included in the SBOM.
72
-
--reproducible Omit anything random or time-based from SBOM. If enabled consecutive runs of will result in identical files.
73
-
Default: false
60
+
--spec-version #0 Which version of CycloneDX to use. (choices: "1.2", "1.3", "1.4", "1.5", default: "1.5")
61
+
--output-format #0 Which output format to use. (choices: "JSON", "XML", default: "JSON")
62
+
--output-file #0 Path to the output file. Set to "-" to write to STDOUT (default: write to STDOUT)
63
+
--production,--prod Exclude development dependencies. (default: true if the NODE_ENV environment variable is set to "production", otherwise false)
64
+
--mc-type #0 Type of the main component. (choices: "application", "framework", "library", "container", "platform", "device-driver", default: "application")
65
+
--licenses Include license information for components in generated SBOM. License information will always be absent for components that don't specify licenses unambiguously.
66
+
--reproducible Whether to go the extra mile and make the output reproducible. This might result in loss of time- and random-based values.
(defaults to 'true' if the environment variable "NODE_ENV" is set to "production"')`,
63
+
description: 'Exclude development dependencies.\n(default: true if the NODE_ENV environment variable is set to "production", otherwise false)',
72
64
});
73
65
74
-
componentType=Option.String("--component-type",{
75
-
description: `Type of component described by the generated SBOM. (choices: "application", "framework", "library", "container", "platform", "device-driver")
76
-
77
-
Default: application`,
66
+
componentType=Option.String("--mc-type",{
67
+
description: 'Type of the main component.\n(choices: "application", "framework", "library", "container", "platform", "device-driver", default: "application")',
78
68
});
79
69
80
70
licenses=Option.Boolean(`--licenses`,false,{
81
-
description: `Include license information for components in generated SBOM. License information will always be absent for components that don't specify licenses unambigously.
82
-
83
-
Default: Licenses are not included in the SBOM.`,
71
+
description: `Include license information for components in generated SBOM.\nLicense information will always be absent for components that don't specify licenses unambiguously.`,
0 commit comments