DEV Community


Discussion on: I made a simple CLI that generates a vanilla HTML project. What do you think?

braydentw profile image
Brayden W ⚡️ Author • Edited

Nice idea! How would this be implemented into the CLI?

Would one of the parameters be a path to the image folder they want converted into different sizes?

goody85 profile image
Steven Goodram

Yeah, pass parameter of image folder, and use eg imagemagick cli convert command (

I think would take a good load off , if say you had lots of high res images that needed to be reized and compressed , or even multiple sets in folders so that you could generate srcset attribs later.

This command could be seperate from the main build app, as i think could be useful during design stage also.👍