htmlnano
htmlnano copied to clipboard
CLI version
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',
}
};
Also, the CLI should support external configs (#63).
@maltsev , Do I understand correctly, that there is no CLI as of yet?
@hoijui right. We don't have it yet.