hydra_config.cli ================ .. py:module:: hydra_config.cli .. autoapi-nested-parse:: Hydra Config CLI utilities. Functions --------- .. autoapisummary:: hydra_config.cli.register_cli hydra_config.cli.run_cli Module Contents --------------- .. py:function:: register_cli(func = None, /, **kwargs) Register a CLI command. .. rubric:: Example .. literalinclude:: /../examples/standalone_cli.py :Parameters: **func** (*Callable | None*) -- The CLI function to register. If None, returns a decorator. :returns: *Callable* -- The registered CLI function or a decorator if `func` is None. .. py:function:: run_cli(func, /, **kwargs) Run a CLI command. :Parameters: **func** (*Callable*) -- The CLI command to run.