mirror of
https://github.com/Chia-Network/chia-blockchain.git
synced 2026-08-28 18:14:19 -05:00
* use a class for the chia cli context data * actually assign to the context properly... * handle the not-present case * catch up * tidy * more * stuff * ... * more real * expected address prefix
19 lines
500 B
Python
19 lines
500 B
Python
from __future__ import annotations
|
|
|
|
import click
|
|
|
|
from chia.cmds.cmd_classes import ChiaCliContext
|
|
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(ChiaCliContext.set_default(ctx).root_path, args)
|