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

motd should not be displayed when input is piped from another command #23

Closed
nagarajasr opened this issue Mar 16, 2017 · 1 comment
Closed

Comments

@nagarajasr
Copy link
Contributor

i am trying to pipe a JSON string through generate-schema cli, like this:
echo '{a: "b"}' | generate-schema
the output includes the 'motd' welcome and usage message which makes it inconvenient to pipe the output to another command. i would like to do this:
echo '{a: "b"}' | generate-schema | do_something_useful_with_schema

could you please add a cli option (say, '-q' for quiet) so that generate-schema can be used seamlessly in a pipeline?

thanks

nagarajasr added a commit to nagarajasr/generate-schema that referenced this issue Mar 16, 2017
@nijikokun
Copy link
Owner

Released under v2.4.0

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

2 participants