GitHub

$ npm install --global mobicon-cli
$ mobicon --help
  Usage
    $ mobicon <file>
  Options
    --platform, -p      Platform to generate icons for
    --background, -b    Color of the icon background if the icon is transparant [Default: white]
    --contentRatio, -r  Logo-icon ratio [Default: 1]
    --roundedCorners    Generate icons with rounded corners [Default: true for pwa and Android]
    --borderRadius      Border radius percentage [Default: 0.0909]
    --out, -o           Output directory [Default: cwd]
  Examples
    $ mobicon icon.png -p=android
      ✔  success
    $ mobicon icon.png -p=android -p=ios -p=pwa
      ✔  success
    $ mobicon icon.svg -p=ios -o=resources
      ✔  success

Read the original on github.com ↗