Skip to content

Commit

Permalink
add automatic yes (#1953)
Browse files Browse the repository at this point in the history
  • Loading branch information
beck-8 authored Aug 20, 2024
1 parent 72acb67 commit a370034
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions cmd/boost/direct_deal.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,11 @@ var directDealAllocate = &cli.Command{
Usage: "number of block confirmations to wait for",
Value: int(build.MessageConfidence),
},
&cli.BoolFlag{
Name: "assume-yes",
Usage: "automatic yes to prompts; assume 'yes' as answer to all prompts and run non-interactively",
Aliases: []string{"y", "yes"},
},
},
Before: before,
Action: func(cctx *cli.Context) error {
Expand Down

0 comments on commit a370034

Please sign in to comment.