Skip to content
Snippets Groups Projects

Handle debug mode correctly in CLI

Merged David Runge requested to merge fix_debug_mode into main
  1. Aug 12, 2022
    • David Runge's avatar
      Handle debug mode correctly in CLI · ba532aee
      David Runge authored
      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.
      Verified
      ba532aee
Loading