Conversation
|
|
Hey, thanks for starting this! I'll try it out tomorrow. 😄 |
|
Would be awesome if the CLI could (optionally) return the output to stdout instead of writing to a file :) |
|
Done! |
Removing unused imports and functions. Also moves minify handler into separate function
devongovett
left a comment
There was a problem hiding this comment.
Thanks! Nice work. Looks like it will be pretty easy to add more features on top of it too!
|
Yay! Thanks! Happy I could contribute! |
|
Apologies for my lack of Rust knowledge, but how would I actually use this CLI? |
|
We still need to figure out a nicer distribution method once we have a few more features (#52), but for now you can install with cargo: And that gives you a global |
|
Is the resulting binary platform dependent? As in, it is compiled for the platform/OS you run that command on? |
It should be platform independent, so long as you have the appropriate local rust setup, via |
It is compiled on the machine you run the command on. So in that sense:
no. But it will run on your machine |
This PR ships with a basic implementation of a CLI for parcel-css using clap-rs.
Resolves #36