command_kit.rb
command_kit.rb copied to clipboard
Support a root: keyword argument
It should be possible to initialize a command with a root file-system path other than / for testing purposes.
This would mean we'd need to implement our own expand_path, join, and open, which respect our special root, and prevent developers from using File.expand_path, File.join, and File.open. Not sure if that's preferable...