-
Notifications
You must be signed in to change notification settings - Fork 17
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
Export CLI as a module #7
Labels
Milestone
Comments
jakubpawlowicz
added a commit
that referenced
this issue
May 8, 2017
Why: * It may become reusable this way.
jakubpawlowicz
added a commit
that referenced
this issue
May 8, 2017
Why: * Slightly easier to get as we get more local variables.
jakubpawlowicz
added a commit
that referenced
this issue
May 8, 2017
Why: * When used as a module a custom CLI implementation can hook into pre-minify configuration and alter it; * it may be useful as a way of customizing CLI beyond command line arguments.
jakubpawlowicz
added a commit
that referenced
this issue
May 8, 2017
jakubpawlowicz
added a commit
that referenced
this issue
May 8, 2017
Why: * When used as a module a custom CLI implementation can hook into pre-minify configuration and alter it; * it may be useful as a way of customizing CLI beyond command line arguments.
jakubpawlowicz
added a commit
that referenced
this issue
May 8, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
So
bin/cleancss
looks something like:One could reuse the CLI to do some custom magic:
The text was updated successfully, but these errors were encountered: