commands.py 567 B

12345678910111213141516171819
  1. """
  2. Docker module commands and functionality.
  3. Handles Docker container management with shared base commands.
  4. """
  5. from typing import Optional
  6. import typer
  7. from ...core.command import BaseModule
  8. class DockerModule(BaseModule):
  9. """Module for managing Docker configurations and containers."""
  10. def __init__(self):
  11. super().__init__(name="docker", icon="🐳", description="Manage Docker configurations and containers")
  12. def add_module_commands(self, app: typer.Typer) -> None:
  13. """Add Module-specific commands to the app."""
  14. pass