• David Runge's avatar
    Add commands module to run external commands · ac42d90a
    David Runge authored
    repo_management/commands.py:
    Add `run_command()` which allows for running an external command with
    the help of subprocess-tee.
    Add the private method `_print_env()` which is used to print the
    optional environment variables given to `run_command()`.
    
    tests/test_commands.py:
    Add tests for `_print_env()` and `run_command()`.
    ac42d90a
test_commands.py 1.13 KB