Server CLI Commands

Server management module.

This module provides the server_cli_group, a Typer-based interface for launching the application using different server engines.

It offers two main modes: - dev: A development-oriented mode (Uvicorn) with auto-reload. - run: A production-like performance testing mode (Granian).

                                                                                
 Usage: app server [OPTIONS] COMMAND [ARGS]...                                  
                                                                                
 Commands for running the application server (dev, run).                        
                                                                                
╭─ Options ────────────────────────────────────────────────────────────────────╮
│ --install-completion          Install completion for the current shell.      │
│ --show-completion             Show completion for the current shell, to copy │
│                               it or customize the installation.              │
│ --help                        Show this message and exit.                    │
╰──────────────────────────────────────────────────────────────────────────────╯
╭─ Commands ───────────────────────────────────────────────────────────────────╮
│ dev  Run the server in development-like mode (using Uvicorn) with            │
│      auto-reload.                                                            │
│ run  Run the server in production-like mode (using Granian) for performance  │
│      testing.                                                                │
╰──────────────────────────────────────────────────────────────────────────────╯