better_launch.utils.click module
- class better_launch.utils.click.DeclaredArg(name: str, ptype: Type, default: Any = <object object at 0x776e342b56f0>, description: str = None)
Bases:
object- default: Any = <object object>
- description: str = None
- name: str
- ptype: Type
- better_launch.utils.click.get_click_bl_options(expose: bool = False) list[click.Option]
Get the click options specific to better_launch itself.
Parameters
- exposebool, optional
If True, click will forward these options to the command callback.
Returns
- list[click.Option]
_description_
- better_launch.utils.click.get_click_launch_command(cmd_name: str, launch_func: Callable, options: Iterable[click.Option], cmd_help: str = None, *, allow_kwargs: bool = False) click.Command
- better_launch.utils.click.get_click_options(declared_args: Iterable[DeclaredArg]) list[click.Option]