see #TODOs in lib/command_runner.rb
see #TODOs in lib/command_runner.rb