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

CLI version #3

Open
maltsev opened this issue Jan 19, 2016 · 4 comments
Open

CLI version #3

maltsev opened this issue Jan 19, 2016 · 4 comments

Comments

@maltsev
Copy link
Member

maltsev commented Jan 19, 2016

No description provided.

@maltsev
Copy link
Member Author

maltsev commented Jul 2, 2021

We need an easy way to support all modules' config options. To not specify them manually in the code, I guess, we could just convert CLI options to an options object. For example:

htmlnano --removeComments=false minifyCss-preset=default

is converted to the following options

const options = {
    removeComments: false,
    minifyCss: {
        preset: 'default',
    }
};

@maltsev
Copy link
Member Author

maltsev commented Jul 2, 2021

Also, the CLI should support external configs (#63).

@hoijui
Copy link

hoijui commented Jan 25, 2024

@maltsev , Do I understand correctly, that there is no CLI as of yet?

@maltsev
Copy link
Member Author

maltsev commented Jan 25, 2024

@hoijui right. We don't have it yet.

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

No branches or pull requests

2 participants