Does Atom CLI support stdin?


Didn’t see this elsewhere so I thought I’d ask:

How do I pipe stdin into the atom cli command? I.e. when I run

echo "foo" | subl

It does as expected, opens a sublime text window with “foo” as the editor’s text. But when I do the same with atom cli, I just get atom to open the current folder.

This may seem odd as a concern, but textmate and sublime both handle this just fine. Do I need a flag for the atom cli or is atom cli broken?


– Owen


Duplicate of …

To answer your question, last I checked, no it doesn’t.

closed #3