Skip to content

Commit

Permalink
feat: add bsf dockerfile digests command
Browse files Browse the repository at this point in the history
Signed-off-by: hanshal101 <[email protected]>
  • Loading branch information
hanshal101 authored and hanshal101 committed Jul 15, 2024
1 parent 59e7301 commit 42868df
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions cmd/dockerfile/df.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,7 @@ import (
"github.com/buildsafedev/bsf/cmd/styles"
)

var (
platform string
)

func init() {
DFCmd.Flags().StringVarP(&platform, "platform", "p", "", "The platform to build the image for")
DFCmd.AddCommand(DGCmd)
}

Expand All @@ -25,8 +20,6 @@ var DFCmd = &cobra.Command{
Aliases: []string{"df"},
Long: `
bsf dockerfile <artifact>
bsf dockerfile <artifact> --platform <platform>
bsf dockerfile <artifact> --platform <platform> --output <output filename>
`,
Run: func(cmd *cobra.Command, args []string) {
fmt.Println(styles.HintStyle.Render("hint: use bsf dockerfile with a subcomand"))
Expand Down

0 comments on commit 42868df

Please sign in to comment.