The oficial CLI for icons.meedu.app
Install
dart pub global activate micons_cli
Or
flutter pub global activate micons_cli
Commands
// To login in your icons.meedu.app account
micons login
// To initialize the icons.meedu.app package in the current directory
micons init
// Pull the ttf file and update the icons.dart file with the latest package changes from icons.meedu.app
micons pull
// You can use the file argument to use a different config file. Useful when you have multiple packages in one single project.
micons pull --file=your_config_file.json
// Use useApiKey=true if you are running a CI/CD process.
// Keep in mind that you must define an environment variable called MICONS_API_KEY with your API key.
micons pull --useApiKey=true
// Or
micons pull --useApiKey=true --MICONS_API_KEY=YOUR_API_KEY
// Remove the current session data
micons logout
Libraries
- commands/init
- commands/log_out
- commands/login
- commands/pull
- data/http
- data/repositories_impl/auth_repository_impl
- data/repositories_impl/packages_repository_impl
- data/services/auth_service
- domain/models/http_result
- domain/models/package
- domain/models/session
- domain/models/svg_icon
- domain/repositories/auth_repositoty
- domain/repositories/packages_repository
- domain/typedefs
- inject_repositories
- meedu_icons
- utils/get_config
- utils/loader