voiage.cli.generate_config
generate_config
Section titled “generate_config”generate_config([positional or keyword] template_name: str = typer.Argument(..., help='Name of the configuration template to generate (for example: evsi)'), [positional or keyword] output_file: Path | None = typer.Option(None, '--output', '-o', help='File to save the generated config')) -> NoneGenerate a JSON configuration template for a CLI command.
Examples
Section titled “Examples”Generate an EVSI config template and save it to a file:
.. code-block:: bash
voiage generate-config evsi > evsi_config.json
Parameters:
template_namestr(default:typer.Argument(..., help='Name of the configuration template to generate (for example: evsi)'))output_filePath | None(default:typer.Option(None, '--output', '-o', help='File to save the generated config'))
Returns: None