commands.py 574 B

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