doit icon indicating copy to clipboard operation
doit copied to clipboard

Have uptodate accept CmdAction

Open arichiardi opened this issue 4 years ago • 0 comments

Hi there!

I have noticed that at the moment is not possible to do this:

"uptodate": [doit.action.CmdAction("..." cwd=somedir)],

It would be great to add it, cause sometimes you need to use cwd or env and you need a CmdAction for that.

Describe alternatives you've considered When in need of changing the cwd, I could use a string with cd or pushd in it, but it feels brittle.

Fund with Polar

arichiardi avatar Nov 22 '19 23:11 arichiardi