pi_portal.modules.integrations.slack.cli.commands.command_status

Slack CLI Status command.

class pi_portal.modules.integrations.slack.cli.commands.command_status.StatusCommand(bot)[source]

Slack CLI command to report the status of the camera.

Parameters:

bot (SlackBot) – The configured slack bot in use.

hook_invoker()[source]

Report if the camera is running or not.

Return type:

None

hook_supervisor_exception()

Handle a SupervisorException.

Return type:

None

invoke()

Manage the process with error handling.

Return type:

None