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 support #1

Open
mmaelzer opened this issue Mar 21, 2014 · 3 comments
Open

Command line support #1

mmaelzer opened this issue Mar 21, 2014 · 3 comments

Comments

@mmaelzer
Copy link
Contributor

Interested in a PR to add command line support? mmaelzer@678411b

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)

@kamicane
Copy link
Owner

I think bin/rgb would be better suited for the purpose than embedding it in the main.

@mmaelzer
Copy link
Contributor Author

That's reasonable. Would you accept mmaelzer@b996165?

@kamicane
Copy link
Owner

Looks good, can you -x index.js and send a pull req?

Ty!

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

No branches or pull requests

2 participants