Skip to content

Commit

Permalink
feat(dagger.go): add mandatory 'dagger-bin-dir' flag to SetupDaggerBi…
Browse files Browse the repository at this point in the history
…nCmd

Introduces a new mandatory flag 'dagger-bin-dir' to specify the
directory where the dagger binary will be stored. This change ensures
that users explicitly define the storage location, enhancing the setup's
configurability and robustness.
  • Loading branch information
cybersiddhu committed Jun 26, 2024
1 parent 0e6c231 commit 443c1e6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions internal/cmd/dagger.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,11 @@ func SetupDaggerBinCmd() cli.Command {
Usage: "setup dagger command line",
Action: dagger.SetupDaggerBin,
Flags: []cli.Flag{
cli.StringFlag{
Name: "dagger-bin-dir",
Usage: "The folder/directory where the dagger binary will be kept",
Required: true,
},
cli.StringFlag{
Name: "dagger-file",
Usage: "The suffix of the dagger tarball file which contains the binary",
Expand Down

0 comments on commit 443c1e6

Please sign in to comment.