base_command
appimage_updater.commands.base_command
¶
Base command class with shared functionality.
BaseCommand()
¶
Base class for all commands with shared functionality.
Source code in src/appimage_updater/commands/base_command.py
console = Console()
instance-attribute
¶
execute(output_formatter=None)
abstractmethod
async
¶
Execute the command.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
output_formatter
|
Any
|
Optional output formatter for structured output |
None
|
Returns:
Type | Description |
---|---|
CommandResult
|
CommandResult with success status and message |