![PyPI Now Supports iOS and Android Wheels for Mobile Python Development](https://cdn.sanity.io/images/cgdhsj6q/production/96416c872705517a6a65ad9646ce3e7caef623a0-1024x1024.webp?w=400&fit=max&auto=format)
Security News
PyPI Now Supports iOS and Android Wheels for Mobile Python Development
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
@icon-magic/cli
Advanced tools
Icon Magic command line.
Using npm:
npm install --save-dev @icon-magic/cli
or using yarn:
yarn add @icon-magic/cli --dev
Usage:
icon-magic [command] <directories ...> [options]
Commands:
build Construct flavors that an icon from its variants, after applying the build plugins. No options available.
generate Generates the flavors of the icon in the extension types that it can be consumed.
distribute Moves an icon from the source to the destination, applying plugins if specified.
Options:
-h, --help Display usage
-v, --version Display version
If no command is specified after icon-magic
, the CLI runs build
and
generate
on the directories specified.
icon-magic .
icon-magic icons/
build
and generate
automatically write to the out
folder in whatever directory they're run in.
icon-magic build .
icon-magic build icons/
Options:
-h, --hashing', Default: true
. When true, builds only those icon variants that have changed since the previous execution. If false, builds all icons.
-d, --debug, Default: false
. When true, will output debbugging info to the command-line.
Given a set of input directories, finds the closest config file (iconrc.json/iconrc.js/icon) and "builds" the icons from it. Refer to @icon-magic/build for more details.
icon-magic generate .
icon-magic generate icons/
Options:
-h, --hashing', Default: true
. When true, builds only those icon variants that have changed since the previous execution. If false, builds all icons.
-d, --debug, Default: false
. When true, will output debbugging info to the command-line.
Given a directory of icons (each icon containing it's own config file consisting of all the flavors from the build step), the generate step is responsible for going through the config file to determine the platforms on which the icon needs to be supported. Refer @icon-magic/generate for more details.
Organizes and structures the files from the generate step how they need to be consumed, creates the necessary files for platform consumption and moves the icons from an input folder to the output folder. The input folder for the distribute
command should be the output folder of build
and generate
The distribute command is the only command for now that requires an output path (as an option -o or --outputPath). As well as the only command with options. Run icon-magic distribute --h
for options.
icon-magic distribute inputPath --outputPath
Options:
light
and dark
colorSchemes are distributed. Other colorSchemes can be specified with flag-mixed
suffix on the file nameRefer @icon-magic/distribute for more details.
FAQs
Icon magic CLI package.
We found that @icon-magic/cli demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.