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

Accept input via stdin #757

Closed
philsturgeon opened this issue Nov 12, 2019 · 0 comments · Fixed by #758
Closed

Accept input via stdin #757

philsturgeon opened this issue Nov 12, 2019 · 0 comments · Fixed by #758
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers p/low

Comments

@philsturgeon
Copy link
Contributor

Accept stdin as an alternative way to get a document, so that folks can use spectral in the middle of complex workflows without needing to write temporary files.

cat openapi.yml | spectral -r some-ruleset.yml

This was mention by @radicarl in #656 (comment) but has been mentioned a few times in person and elsewhere. Just kept forgetting to write it down.

@philsturgeon philsturgeon added enhancement New feature or request good first issue Good for newcomers p/low labels Nov 12, 2019
@P0lip P0lip mentioned this issue Nov 13, 2019
4 tasks
@P0lip P0lip self-assigned this Nov 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers p/low
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants