postmodern/command_kit.rb

Support a root: keyword argument

Opened this issue · 1 comments

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...