CLI version
tobiastom opened this issue · comments
World be nice to use a command line call like criticalCSS http://github.com
which would just output the rules. This would it make it very easy to be integrated into all kinds of tools.
Thank you!
So this is an option, however, our api would have to be something along the lines of:
criticalCSS {url} {path/to/local/css/file/to/reference} {width} {height}
I suppose the width and height could be options and could default to something if they're not filled in, but otherwise, the local css file and the url still need to be passed.
I'll look into having this library wrap a command-line version.
Thank you!
Am 04.03.2015 um 06:01 schrieb Jeff Lembeck notifications@github.com:
So this is an option, however, our api would have to be something along the lines of:
criticalCSS {url} {path/to/local/css/file/to/reference} {width} {height}
I suppose the width and height could be options and could default to something if they're not filled in, but otherwise, the local css file and the url still need to be passed.
I'll look into having this library wrap a command-line version.
—
Reply to this email directly or view it on GitHub.
+1
Would be amazing!
Ok, this is in for version 0.6.0
Works like a charm! Thank you very much!
I was going to hit this! Nevermind, thanks a lot :)