Closed LeeBergstrand closed 10 months ago
@jmtsuji I could only use Pycharm's automated refactoring tools (https://www.jetbrains.com/help/pycharm/refactoring-source-code.html) to do these edits. If you could go through this code in review to make sure I mapped all the commands properly that would be great. Also, once the conflicts are resolved, I would re-run your test to ensure nothing breaks.
Addresses: https://github.com/jmtsuji/rotary/pull/63#discussion_r1368078767
subcommand.run
to a functionlogger.debug()
call beforesubcommand.run
into the function so it can be edited in one place.check=True
to be the fault behaviour when calling a subcommand by moving it into the function. Now it be left out.std.stdout
into the function so one can pass the output from the prior command directly into the subcommand call.