Skip to content

Commit 443c1e6

Browse files
committed
feat(dagger.go): add mandatory 'dagger-bin-dir' flag to SetupDaggerBinCmd
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.
1 parent 0e6c231 commit 443c1e6

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

internal/cmd/dagger.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,11 @@ func SetupDaggerBinCmd() cli.Command {
3333
Usage: "setup dagger command line",
3434
Action: dagger.SetupDaggerBin,
3535
Flags: []cli.Flag{
36+
cli.StringFlag{
37+
Name: "dagger-bin-dir",
38+
Usage: "The folder/directory where the dagger binary will be kept",
39+
Required: true,
40+
},
3641
cli.StringFlag{
3742
Name: "dagger-file",
3843
Usage: "The suffix of the dagger tarball file which contains the binary",

0 commit comments

Comments
 (0)