Skip to content
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

Allow piping to cli commands #24

Merged
merged 1 commit into from
May 14, 2019
Merged

Allow piping to cli commands #24

merged 1 commit into from
May 14, 2019

Conversation

joehoyle
Copy link
Member

Currently you can't say, pipe a file to db import -, as the TTY is not set. This detects when there is a STDIN and correctly enables the TTY on the connection to the docker container.

Currently you can't say, pipe a file to `db import -`, as the TTY is not set. This detects when there is a STDIN and correctly enables the TTY on the connection to the docker container.
@joehoyle joehoyle requested a review from roborourke May 13, 2019 13:25
Copy link
Contributor

@roborourke roborourke left a comment

Choose a reason for hiding this comment

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

Hadn’t tried an export or db dump yet. Good find.

@roborourke roborourke merged commit d0e1011 into master May 14, 2019
@roborourke roborourke deleted the allow-piping branch April 16, 2021 15:36
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