autonomy.cli.replay
Develop CLI module.
replay_
group
@click.group(name="replay")
def replay_group() -> None
Replay tools for agent services.
run_
agent
@replay_group.command(name="agent")
@click.argument("agent", type=int, required=True)
@click.option(
"--build",
"build_path",
type=click.Path(exists=True, dir_okay=True),
default=Path(DEFAULT_BUILD_FOLDER.format(build_hash_id())),
help="Path to build dir.",
)
@click.option(
"--registry",
"registry_path",
type=click.Path(exists=True, dir_okay=True),
default=REGISTRY_PATH,
help="Path to registry folder.",
)
def run_agent(agent: int, build_path: Path, registry_path: Path) -> None
Agent runner.
run_
tendermint
@replay_group.command(name="tendermint")
@click.option(
"--build",
"build_dir",
type=click.Path(dir_okay=True, exists=True),
default=Path(DEFAULT_BUILD_FOLDER.format(build_hash_id())),
help="Path to build directory.",
)
def run_tendermint(build_dir: Path) -> None
Tendermint runner.