Skip to content

Handle debug mode correctly in CLI

David Runge requested to merge fix_debug_mode into main

repod/cli/argparse.py: Change destinations for -d/ --debug to debug_mode so that it does not shadow -D/ --debug. Change destinations for -v/ --verbose to verbose_mode to align with debug_mode.

repod/cli/cli.py: Change occurences of args.debug and args.verbose targetting the verbosity of the CLI to args.debug_mode and args.verbose_mode.

tests/cli/test_cli.py: Change tests to adapt to renaming of verbosity flag destinations.

Fixes #89 (closed)

Edited by David Runge

Merge request reports