CLI
How to use the command line interface (CLI) for Fastforge
Installation
dart pub global activate fastforge
Commands
These commands are sorted in alphabetical order. The most commonly used are package, publish, and release.
Package
Will package your application into a platform specific format and put the result in a folder.
Flag | Value | Required |
---|---|---|
--platform | Platform, e.g. android | true |
--targets | Comma separated list of maker names | true |
--skip-clean | Skip clean once before build | false |
Example:
fastforge package --platform=android --targets=aab,apk
Publish
Flag | Value | Required |
---|---|---|
--path | Path, e.g. hello_world-1.0.0+1-android.apk | true |
--targets | Comma separated list of publisher names | true |
Example:
fastforge publish --path hello_world-1.0.0+1-android.apk --targets fir,pgyer
Release
Will according to the configuration file (distribute_options.yaml
), package your application into a specific format and publish it to the distribution platform.
Flag | Value | Required |
---|---|---|
--name | Name, e.g. dev | true |
--skip-clean | Skip clean once before build | false |
Example:
fastforge release --name dev