htmlnano icon indicating copy to clipboard operation
htmlnano copied to clipboard

CLI version

Open maltsev opened this issue 10 years ago • 4 comments

maltsev avatar Jan 19 '16 00:01 maltsev

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 avatar Jul 02 '21 14:07 maltsev

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

maltsev avatar Jul 02 '21 14:07 maltsev

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

hoijui avatar Jan 25 '24 10:01 hoijui

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

maltsev avatar Jan 25 '24 19:01 maltsev