Skip to content

Format from stdin to stdout #333

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

Closed
lassik opened this issue Mar 5, 2023 · 1 comment
Closed

Format from stdin to stdout #333

lassik opened this issue Mar 5, 2023 · 1 comment

Comments

@lassik
Copy link

lassik commented Mar 5, 2023

Can the stree format CLI read the unformatted code from standard input instead of reading it from a file? Stdin support is important for editor plugins.

cc @strake7

@kddnewton
Copy link
Member

Yeah you can pipe it in to all of the commands that support input.

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