Set up logging and theme for individual commands.
(
quiet: bool, verbose: bool, log_level: str, theme: str = "default"
)
| 900 | |
| 901 | # Function to configure logging for individual commands |
| 902 | def _setup_command_logging( |
| 903 | quiet: bool, verbose: bool, log_level: str, theme: str = "default" |
| 904 | ): |
| 905 | """Set up logging and theme for individual commands.""" |
| 906 | setup_logging(level=log_level, quiet=quiet, verbose=verbose) |
| 907 | if theme: |
| 908 | set_theme(theme) |
| 909 | |
| 910 | |
| 911 | # Provider command - FIXED to handle arguments properly |