pudl.cli module

A command line interface (CLI) to the main PUDL ETL functionality.

pudl.cli.main()[source]

Parse command line and initialize PUDL DB.

pudl.cli.parse_command_line(argv)[source]

Parse script command line arguments. See the -h option.

Parameters

argv (list) – command line arguments including caller file name.

Returns

A dictionary mapping command line arguments to their values.

Return type

dict