mirror of
https://github.com/Chia-Network/chia-blockchain.git
synced 2026-09-02 18:14:27 -05:00
* add new get_wallet_client generator * switch plotnft code to new generator * change coin commands over to new generator * remove extra imports * change to 100% new async generator * remove execute_with_wallet func * Enable mypy on almost every cli file. * Rename variables from yes * switch to kwargs on really long functions & fix default list * fix missing None & Fix syntax for unrelated change * make more functions kwarg only * Apply suggestions from code review Co-authored-by: Kyle Altendorf <sda@fstab.net> * final review changes * oops fix backwards compatibility * drop default, hint sequence * List (for now...) --------- Co-authored-by: Kyle Altendorf <sda@fstab.net>
18 lines
430 B
Python
18 lines
430 B
Python
from __future__ import annotations
|
|
|
|
import click
|
|
|
|
from chia.plotters.plotters import call_plotters
|
|
|
|
|
|
@click.command(
|
|
"plotters",
|
|
help="Advanced plotting options",
|
|
context_settings={"ignore_unknown_options": True},
|
|
add_help_option=False,
|
|
)
|
|
@click.pass_context
|
|
@click.argument("args", nargs=-1)
|
|
def plotters_cmd(ctx: click.Context, args: tuple[click.Argument]) -> None:
|
|
call_plotters(ctx.obj["root_path"], args)
|