Skip to content

Option to pipe output of script to another program before output #675

Open
@chellige

Description

@chellige

Hello,

Is there a way to pipe the output of a script with parameters at execution to another program?

script:
python /tools/getdata.py
parameters:
--Name
--City
Then at execution, pipe the script and the parameters to JQ for json parsing

so effectively run this command line script

$ python /tools/getdata.py --Name Jones --City "New York"  | jq .

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions