Skip to content

Add the ability to pipe YAML to update_metadata#78

Open
jameshiebert wants to merge 1 commit intomasterfrom
feature/update-metadata-stdin
Open

Add the ability to pipe YAML to update_metadata#78
jameshiebert wants to merge 1 commit intomasterfrom
feature/update-metadata-stdin

Conversation

@jameshiebert
Copy link
Contributor

In the Unix world, it's often useful to pipe input to a process on
STDIN especially when one is scripting things. This change adds the
ability for the update_metadata script to take input on STDIN if the
"-u -" option is used.

In the Unix world, it's often useful to pipe input to a process on
STDIN especially when one is scripting things. This change adds the
ability for the update_metadata script to take input on STDIN if the
"-u -" option is used.
@jameshiebert jameshiebert requested a review from rod-glover June 21, 2019 19:15
@rod-glover
Copy link
Contributor

Good idea. This looks fine to me. But I wonder if it would be more idiosyncratic to by default take input from STDIN and from a file only when the -u command is specified?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants