ezpz.cli⚓︎
Unified Click-based command line entry point for ezpz.
doctor_cmd(args)
⚓︎
Inspect the environment for ezpz launch readiness.
Source code in src/ezpz/cli/__init__.py
@main.command(name="doctor", context_settings={"ignore_unknown_options": True})
@click.argument("args", nargs=-1, type=click.UNPROCESSED)
def doctor_cmd(args: tuple[str, ...]) -> None:
"""Inspect the environment for ezpz launch readiness."""
from ezpz import doctor as doctor_module
rc = doctor_module.run(_ensure_sequence(args))
_handle_exit_code(rc)
main()
⚓︎
tar_env_cmd(args)
⚓︎
Create (or locate) a tarball for the current environment.
Source code in src/ezpz/cli/__init__.py
@main.command(
name="tar-env", context_settings={"ignore_unknown_options": True}
)
@click.argument("args", nargs=-1, type=click.UNPROCESSED)
def tar_env_cmd(args: tuple[str, ...]) -> None:
"""Create (or locate) a tarball for the current environment."""
from ezpz.utils import tar_env as tar_env_module
rc = tar_env_module.main()
yeet_env_cmd(args)
⚓︎
Distribute an environment tarball across worker nodes.
Source code in src/ezpz/cli/__init__.py
@main.command(
name="yeet-env", context_settings={"ignore_unknown_options": True}
)
@click.argument("args", nargs=-1, type=click.UNPROCESSED)
def yeet_env_cmd(args: tuple[str, ...]) -> None:
"""Distribute an environment tarball across worker nodes."""
# from ezpz.utils import yeet_env as yeet_env_module
from ezpz.utils import yeet_env as yeet_env_module
rc = yeet_env_module.run(_ensure_sequence(args))
_handle_exit_code(rc)