base appimage_updater.commands.base ¶ Base command interface and result types. Command ¶ Base command interface. execute() abstractmethod async ¶ Execute the command and return result. Source code in src/appimage_updater/commands/base.py 29 30 31 32@abstractmethod async def execute(self) -> CommandResult: """Execute the command and return result.""" pass validate() abstractmethod ¶ Validate command parameters and return list of errors. Source code in src/appimage_updater/commands/base.py 34 35 36 37@abstractmethod def validate(self) -> list[str]: """Validate command parameters and return list of errors.""" pass CommandResult(success, message='', exit_code=0) dataclass ¶ Result of a command execution. exit_code = 0 class-attribute instance-attribute ¶ message = '' class-attribute instance-attribute ¶ success instance-attribute ¶