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

Read from stdio #25

Open
ghost opened this issue Dec 7, 2015 · 0 comments
Open

Read from stdio #25

ghost opened this issue Dec 7, 2015 · 0 comments

Comments

@ghost
Copy link

ghost commented Dec 7, 2015

Allow generating DDL from the output of another command. This should be easy to implement and give a ton of flexibility. "-" seems to be a standard to specify stdin. But it could also be implemented as a command line option.

Two ways I see this being used.

  1. A command generates CSV that you want to generate DDL for.:
    getdata -f csv | ddlcreate oracle -

  2. Adding a header when the CSV file doesn't include one. We can add a header to the csv via:
    cat header.csv data.csv | ddlcreate oracle -

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

No branches or pull requests

0 participants