From a37003486fd36a362ae5af639e58139f3a3376cf Mon Sep 17 00:00:00 2001 From: beck <34204218+beck-8@users.noreply.github.com> Date: Tue, 20 Aug 2024 17:05:45 +0800 Subject: [PATCH] add automatic yes (#1953) --- cmd/boost/direct_deal.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/cmd/boost/direct_deal.go b/cmd/boost/direct_deal.go index ee13cc00f..61f0e161d 100644 --- a/cmd/boost/direct_deal.go +++ b/cmd/boost/direct_deal.go @@ -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 {