pedrosanto90/svg-auto ? reverse-engineered prompt
Reverse engineered prompt
Build me a small Go command line tool that automates IcoMoon for SVG icons.
I want to pass in one or more SVG files, have it open IcoMoon in a real Chromium browser, import the files, download the generated icon package, then extract the icons and apply them to my project. The project should be configurable with one JSON file, and it needs to work for both a local project and a remote project over SSH. It should update the sprite, the IcoMoon selection file, and a CSS file, and it should use one shared icon prefix so the names stay consistent everywhere.
Please make it safe to run more than once, so icons that already exist are skipped. Also back up any files before editing them, then clean up the backups after a successful run. It would be great if the app can find a Chromium based browser automatically, but still let me override it with an environment variable. If you need to check current docs for browser automation or Go setup, look them up online.
Are you gonna build this?
make sure you review the code using coderabbit