rgpycrumbs.cli¶
Attributes¶
Functions¶
|
Returns a sorted list of CLI script names (without extension) in a folder. |
|
Sets up the environment and runs the target script via 'uv run'. |
|
Creates a click command that dispatches to a PEP 723 script. |
|
A dispatcher that runs self-contained PEP 723 scripts using 'uv'. |
Module Contents¶
- rgpycrumbs.cli._get_scripts_in_folder(folder_name: str) list[str][source]¶
Returns a sorted list of CLI script names (without extension) in a folder.
Excludes library modules (hdf5_io, plotting) and internal files (__init__, _*). Includes actual CLI entry point scripts.
- rgpycrumbs.cli._dispatch(group: str, script_name: str, script_args: tuple, is_dev: bool = False, is_verbose: bool = False)[source]¶
Sets up the environment and runs the target script via ‘uv run’.
- rgpycrumbs.cli._make_script_command(group_name: str, script_stem: str) click.Command[source]¶
Creates a click command that dispatches to a PEP 723 script.
- For full option help, run the script directly:
python -m rgpycrumbs.<group>.<script> –help