pi_portal.cli_commands.cli_user.installer.InstallerCommand

class pi_portal.cli_commands.cli_user.installer.InstallerCommand(file_name: str, override: bool)[source]

Bases: FileCommandBase, CommandManagedStateMixin

CLI command to start the Installer.

__init__(file_name: str, override: bool) None[source]
invoke() None[source]

Invoke the command.

load_state(debug: bool, file_path: str = '/etc/pi_portal/config.json') None

Load and configure state.

Parameters:
  • debug (bool) – Enable or disable debug logs.

  • file_path (str) – The path to the file to load.