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

Provide a flag to receive input from stdin #40

Closed
vmalloc opened this issue Oct 8, 2013 · 2 comments
Closed

Provide a flag to receive input from stdin #40

vmalloc opened this issue Oct 8, 2013 · 2 comments

Comments

@vmalloc
Copy link

vmalloc commented Oct 8, 2013

Relating to #38, this would make it even easier to use with M-| in emacs.

Many tools do this by accepting the special file name - as meaning stdin. This can also imply -d

@timothycrosley
Copy link
Member

Hi vmalloc,

isort should already support this, example:

cat settings.py | isort -

will take results from settings.py sort it's imports then print to standard output. If you are encountering a problem with this please let me know and I will reopen.

Thanks!

Timothy

@vmalloc
Copy link
Author

vmalloc commented Oct 9, 2013

Oops - sorry. Indeed this already works. Thanks!

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