pydoit / doit

CLI task management & automation tool
http://pydoit.org
MIT License
1.87k stars 175 forks source link

Have uptodate accept CmdAction #334

Open arichiardi opened 4 years ago

arichiardi commented 4 years ago

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