pi_portal.modules.integrations.slack.cli.commands.bases.process_management_command

Base process management class for Slack CLI commands.

class pi_portal.modules.integrations.slack.cli.commands.bases.process_management_command.SlackProcessManagementCommandBase(bot)[source]

A base command for the Slack CLI that manages a process.

Parameters:

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

hook_invoker()[source]

Manage the configured process.

Return type:

None

hook_supervisor_exception()[source]

Handle a SupervisorException.

Return type:

None

hook_supervisor_process_exception()[source]

Handle a SupervisorProcessException.

Return type:

None

invoke()[source]

Manage the process with error handling.

Return type:

None