Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixup dont_prompt #18974

Merged
merged 1 commit into from
Dec 3, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions chia/cmds/plotnft.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ class CreatePlotNFTCMD:
show_default=True,
required=True,
)
dont_prompt: bool = option("-y", "--yes", "dont_prompt", help="No prompts", is_flag=True)
dont_prompt: bool = option("-y", "--yes", help="No prompts", is_flag=True)

async def run(self) -> None:
from chia.cmds.plotnft_funcs import create
Expand Down Expand Up @@ -133,7 +133,7 @@ class JoinPlotNFTCMD:
show_default=True,
required=True,
)
dont_prompt: bool = option("-y", "--yes", "dont_prompt", help="No prompts", is_flag=True)
dont_prompt: bool = option("-y", "--yes", help="No prompts", is_flag=True)
id: Optional[int] = option(
"-i", "--id", help="ID of the wallet to use", default=None, show_default=True, required=False
)
Expand All @@ -160,7 +160,7 @@ async def run(self) -> None:
)
class LeavePlotNFTCMD:
rpc_info: NeedsWalletRPC # provides wallet-rpc-port and fingerprint options
dont_prompt: bool = option("-y", "--yes", "dont_prompt", help="No prompts", is_flag=True)
dont_prompt: bool = option("-y", "--yes", help="No prompts", is_flag=True)
fee: uint64 = option(
"-m",
"--fee",
Expand Down
Loading