pi_portal.commands.installer

CLI command to start the Installer.

class pi_portal.commands.installer.InstallerCommand(file_name, override)[source]

CLI command to start the Installer.

Parameters:
  • file_name (str) –

  • override (bool) –

invoke()[source]

Invoke the command.

Return type:

None

load_state(debug, file_path='/opt/venvs/pi-portal/config.json')

Load and configure state.

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

  • file_path (str, default: '/opt/venvs/pi-portal/config.json') – The path to the file to load.

Return type:

None