From e757d5186ffce0678e1ab09ae91a83819b249c82 Mon Sep 17 00:00:00 2001 From: beck <1504068285@qq.com> Date: Tue, 20 Aug 2024 16:29:14 +0800 Subject: [PATCH] add automatic yes --- 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 {