-
Notifications
You must be signed in to change notification settings - Fork 293
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- pack download-sbom -> pack sbom download .... - Add warning message for pack inspect-image <> --bom Signed-off-by: Anthony Emengo <aemengo@vmware.com>
- Loading branch information
Anthony Emengo
committed
Jan 10, 2022
1 parent
4cf55bb
commit f027b65
Showing
4 changed files
with
28 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
package commands | ||
|
||
import ( | ||
"github.com/spf13/cobra" | ||
|
||
"github.com/buildpacks/pack/internal/config" | ||
"github.com/buildpacks/pack/pkg/logging" | ||
) | ||
|
||
func NewSBOMCommand(logger logging.Logger, cfg config.Config, client PackClient) *cobra.Command { | ||
cmd := &cobra.Command{ | ||
Use: "sbom", | ||
Short: "Interact with SBoM", | ||
RunE: nil, | ||
} | ||
|
||
cmd.AddCommand(DownloadSBOM(logger, client)) | ||
AddHelpFlag(cmd, "sbom") | ||
return cmd | ||
} |