Skip to content

Read from stdin #9

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
danihodovic opened this issue Mar 12, 2015 · 1 comment
Closed

Read from stdin #9

danihodovic opened this issue Mar 12, 2015 · 1 comment

Comments

@danihodovic
Copy link

Is it possible to integrate support for reading from stdin instead of a file? Some editor plugins require this: https://github.com/Chiel92/vim-autoformat

@vvakame
Copy link
Owner

vvakame commented Mar 22, 2015

@dani-h I was released tsfmt v0.3.0.
please try cat foo.ts | tsfmt --stdin foo.ts.
file name is required by tsfmt. it uses to read formatting options.

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