Expand description
Main Application Bootstrap
This module provides a thin bootstrap layer for the Torrust Tracker Deployer CLI. It handles application initialization, logging setup, and command dispatch while delegating all CLI parsing and business logic to the presentation layer.
§Responsibilities
- Application Lifecycle: Initialize and shutdown the application
- Logging Setup: Configure logging based on CLI arguments
- Command Dispatch: Route commands to the presentation layer for execution
- Exit Handling: Manage application exit codes and cleanup
§Design Principles
- Thin Layer: Minimal logic, maximum delegation to appropriate layers
- Single Responsibility: Focus only on application bootstrap concerns
- Clean Separation: No CLI parsing or business logic in this module
Functions§
- run
- Main application entry point