pi_portal.modules.integrations.chat.cli.commands.command_snapshot.SnapshotCommand

class pi_portal.modules.integrations.chat.cli.commands.command_snapshot.SnapshotCommand(bot: TypeChatBot)[source]

Bases: ChatProcessCommandBase

Chat CLI command to take a snapshot with the camera.

__init__(bot: TypeChatBot) None
hook_invoker() None[source]

Check if the camera is available, and then take a snapshot.

hook_supervisor_exception() None

Handle a SupervisorException.

invoke() None

Manage the process with error handling.