Skip to content

Add pipe to dump command #8227

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed

Add pipe to dump command #8227

wants to merge 1 commit into from

Conversation

philwc
Copy link
Contributor

@philwc philwc commented Jul 26, 2017

Save creating an interim file (and cluttering up the directory) by using pipe to create the image file immediately.

Save creating an interim file (and cluttering up the directory) by using pipe to create the image file immediately.
Copy link
Member

@javiereguiluz javiereguiluz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To me it looks good ... but I've never dumped a workflow, so maybe I'm missing something.

In any case, @philwc thanks for your first contribution to Symfony Docs.

@HeahDude
Copy link
Contributor

I don't think this needs to be documented this way. It may happen that you want to edit the dot file before transforming it. Having two steps here seems fine to me.

@HeahDude HeahDude added this to the 3.2 milestone Jul 26, 2017
@philwc
Copy link
Contributor Author

philwc commented Jul 26, 2017

I would have thought that was pretty rare for most use cases, but if you'd rather leave as is, that's fine.

@xabbuh
Copy link
Member

xabbuh commented Jul 27, 2017

To me this looks good. It's IMO easy to figure out how to dump the file first if you need to manipulate it while it may not be obvious that you can pass the definition to be dumped to STDIN of the dot command.

@HeahDude
Copy link
Contributor

Fair enough then.

@xabbuh
Copy link
Member

xabbuh commented Aug 1, 2017

Thank you @philwc.

xabbuh added a commit that referenced this pull request Aug 1, 2017
This PR was submitted for the 3.3 branch but it was merged into the 3.2 branch instead (closes #8227).

Discussion
----------

Add pipe to dump command

Save creating an interim file (and cluttering up the directory) by using pipe to create the image file immediately.

Commits
-------

8aa2fbb Add pipe to dump command
@xabbuh xabbuh closed this Aug 1, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants