iconify_sdk_cli 1.1.0
iconify_sdk_cli: ^1.1.0 copied to clipboard
Command-line tool for the Iconify SDK. Downloads icon sets and generates Dart code from your iconify.yaml configuration.
iconify_sdk_cli #
Command-line tool for the Iconify SDK. It downloads icon sets and generates
optimized Dart code from your iconify.yaml configuration.
Install #
dart pub global activate iconify_sdk_cli
Quick start #
-
Create an
iconify.yaml(seeiconify.yamlin this directory for a ready-to-use example):iconify init -
Generate icon assets and code for the sets you configured:
iconify generate --compress --fontThis produces
used_icons.json(GZIP-compressed),.iconbinfiles for high-performance lookups, and optionally an.otffont for monochrome sets — all picked up automatically byIconifyApp. -
Keep locally-synced icons up to date as you add icons to your code:
iconify sync
Available commands #
| Command | Description |
|---|---|
init |
Scaffold an iconify.yaml and .gitignore |
sync |
Download the icon sets declared in iconify.yaml |
generate |
Build optimized assets and Dart code (default command) |
verify |
Check that all icons used in code are bundled |