Skip to content

Instantly share code, notes, and snippets.

@bobylito
Created October 10, 2015 16:17
Show Gist options
  • Save bobylito/15268b59b508c19f3775 to your computer and use it in GitHub Desktop.
Save bobylito/15268b59b508c19f3775 to your computer and use it in GitHub Desktop.
Multiline text hack from CSSNext cli
program.on("--help", function() {
console.log(function() {/*
Examples:
# pass an input and output file
$ cssnext input.css output.css
# start cssnext watcher (need input & output)
$ cssnext --watch input.css output.css
# using stdin and stdout
$ cat input.css | cssnext > output.css
*/
}.toString().split("\n").slice(1, -2).join("\n"))
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment