command_kit.rb icon indicating copy to clipboard operation
command_kit.rb copied to clipboard

Support a root: keyword argument

Open postmodern opened this issue 4 years ago • 1 comments

It should be possible to initialize a command with a root file-system path other than / for testing purposes.

postmodern avatar Jul 26 '21 09:07 postmodern

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

postmodern avatar Aug 25 '21 23:08 postmodern