Open fkoyer opened 3 years ago
Interesting idea. Not sure why you essentially blew away the README file though if you want this PR to be accepted.
Sorry, that README file wasn't supposed to be part of the PR. I pushed the correct README file. Let me know if you have any questions.
Just following up to see if this PR can be merged.
I plan on reviewing this over the weekend. Thanks for your patience.
I'm willing to accept a PR to add a cli to inline-css
with the stipulation that it uses meow
, https://github.com/sindresorhus/meow.
I would also suggest get-stdin
to get stdin, https://github.com/sindresorhus/get-stdin.
If you're interested, there is a boilerplate that might make this easier, https://github.com/sindresorhus/node-cli-boilerplate.
This PR adds a command line interface to make it easier to integrate this tool with other scripts and development tools. I needed this functionality to use this tool as a file watcher in PhpStorm. The script sets the
url
option to a reasonable default. Tested on Windows 10 and CentOS 7.