8000 cmd step: support ~ & env · Issue #270 · pypyr/pypyr · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
cmd step: support ~ & env #270
Open
Open
@yaythomas

Description

@yaythomas

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 ~/myoutpath

Note that $ENV expansion supports formats $ENV and ${ENV}. It leaves unrecognised tokens alone, meaning pypyr can do a {substitution} format afterwards without breaking anything.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0