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

Command line should allow input from STDIN #128

Closed
xkahn opened this issue Apr 30, 2013 · 1 comment
Closed

Command line should allow input from STDIN #128

xkahn opened this issue Apr 30, 2013 · 1 comment

Comments

@xkahn
Copy link

xkahn commented Apr 30, 2013

Running csso at the command line should accept input from STDIN. (And help should be accessed only from csso -h.) Alternatively, running: "csso -" or "csso -i -" should accept STDIN as most UNIX binaries do.

@xkahn
Copy link
Author

xkahn commented Apr 30, 2013

Your included example;

Example:

$ echo ".test { color: red; color: green }" > test.css
$ csso test.css
.test{color:green}

would then become:

Example:

$ echo ".test { color: red; color: green }" | csso -i -
.test{color:green}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants