Skip to content

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.

FlagValueRequired
--platformPlatform, e.g. androidtrue
--targetsComma separated list of maker namestrue
--skip-cleanSkip clean once before buildfalse

Example:

fastforge package --platform=android --targets=aab,apk

Publish

FlagValueRequired
--pathPath, e.g. hello_world-1.0.0+1-android.apktrue
--targetsComma separated list of publisher namestrue

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.

FlagValueRequired
--nameName, e.g. devtrue
--skip-cleanSkip clean once before buildfalse

Example:

fastforge release --name dev

Released under the MIT License.