-
Notifications
You must be signed in to change notification settings - Fork 28
Open
Labels
Description
pypyr.steps.cmd doesn't support ~ expansion or $ENV vars in its cmd input.
Easy enough to add. Then operators won't have to go and invoke the more inefficient pypyr.steps.shell just for doing something like:
- name: pypyr.steps.cmd
in:
cmd: cp ~/mypath ~/myoutpathNote that $ENV expansion supports formats $ENV and ${ENV}. It leaves unrecognised tokens alone, meaning pypyr can do a {substitution} format afterwards without breaking anything.