rgb
rgb copied to clipboard
Command line support
Interested in a PR to add command line support? https://github.com/mmaelzer/rgb/commit/678411bb1d96d642ad7c3c9c5007a8c202f15ad3
Allows index.js to be called like
node index.js #fff // rgb(255,255,255)
or if you chmod +x the index.js file...
./index.js #fff // rgb(255,255,255)
I think bin/rgb would be better suited for the purpose than embedding it in the main.
That's reasonable. Would you accept https://github.com/mmaelzer/rgb/commit/b996165d857d7d92d2c75141304edae66434272d?
Looks good, can you -x index.js and send a pull req?
Ty!