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

fix: Write errors to stderr #179

Merged
merged 1 commit into from
Apr 8, 2021
Merged

fix: Write errors to stderr #179

merged 1 commit into from
Apr 8, 2021

Conversation

Morten1337
Copy link
Contributor

This allows you to redirect stderr and stdout separately.

This should not change the behavior of the usage example, so I did not update the README file.

Here's an example on how to write error messages to the console, and the swagger output to a file:

swagger-inline "./*.js" --base 'swaggerBase.json' 2>&1 > api.json

@erunion erunion merged commit 39b428f into readmeio:master Apr 8, 2021
@erunion
Copy link
Member

erunion commented Apr 8, 2021

Published to v3.2.3, thanks!

@erunion erunion mentioned this pull request Apr 8, 2021
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