CLI Reference

August 15, 2026 · View on GitHub

English | 简体中文

fastforge <COMMAND>

Global options:

OptionDescription
-h, --helpShow help
-V, --versionShow the version

Top-level commands:

CommandDescription
analyzeAnalyze app packages, or a directory of them
buildBuild a project with Flutter Builder
packageBuild and package a project
publishPublish an existing artifact
releasePreserve compatibility with legacy releases
storeManage aggregated store configuration and catalogs
workflowRun local workflows
appstoreOperate App Store Connect
appgalleryOperate Huawei AppGallery Connect
googleplayOperate Google Play Console
upgradeReserved upgrade command
version-checkPrint the current version

analyze

fastforge analyze [OPTIONS] <PATH>...
OptionRequiredDescription
<PATH>...YesOne or more .apk, .aab, .ipa, .dmg or .app paths, or directories to scan
-o, --output <OUTPUT>NoWrite the report to a file; otherwise write to stdout
--format <FORMAT>Nojson or html. Defaults to the format implied by --output, else json
fastforge analyze dist/app.apk
fastforge analyze dist/app.ipa --output app-info.json
fastforge analyze dist --output report.html

See App Package Analysis for format dependencies and output details.

build

fastforge build [OPTIONS]
OptionDescription
-p, --platform <PLATFORM>Target platform; required at runtime
-t, --target <TARGET>Build target
--cleanClean before building
--flutter-build-args <ARGS>Additional Flutter Builder arguments
--build-target <PATH>Flutter entry point
--build-flavor <FLAVOR>Build flavor
--build-target-platform <PLATFORM>Target architecture
--build-export-options-plist <PATH>iOS ExportOptions plist
--build-export-method <METHOD>iOS export method
--build-dart-define <KEY=VALUE>Compile-time variable; repeatable
--build-obfuscateEnable obfuscation
--build-split-debug-info <PATH>Debug-symbol output directory
--build-tree-shake-iconsEnable icon tree shaking
--build-profileUse profile mode

See Building for the current scope of the build command and builder status.

package

fastforge package [OPTIONS]
OptionDescription
-p, --platform <PLATFORM>Target platform; required at runtime
-t, --target <TARGET>One package target; required at runtime
--skip-cleanSkip cleaning before the build
--build-target <PATH>Flutter Builder entry point
--hook-pre <COMMAND>Shell command to run before packaging
--hook-post <COMMAND>Shell command to run after packaging

See Packaging for current support.

See the packager overview for platform and format details.

publish

fastforge publish [OPTIONS]
OptionDescription
--path <PATH>File or directory path; required at runtime
-t, --target <TARGET>One publishing target; required at runtime
--publish-arg <KEY=VALUE>Publisher argument; repeatable

See the publisher overview for credentials and arguments for each target.

release

This command is retained for compatibility with the legacy release process. Use fastforge workflow for new automation.

store

fastforge store <COMMAND>
SubcommandDescription
listList stores and apps configured in .fastforge/config.yaml
catalog pullPull catalogs for all configured apps
catalog pushPush catalogs for all configured apps

workflow

Run

fastforge workflow run [OPTIONS]
OptionDescription
-f, --file <FILE>Select a workflow file
-e, --event <EVENT>Simulate an event; defaults to workflow_dispatch
-w, --workspace <WORKSPACE>Working directory; defaults to the current directory
-i, --input <KEY=VALUE>Input; repeatable

List

fastforge workflow list [OPTIONS]
OptionDescription
-d, --dir <DIR>Search directory
-v, --verboseShow details

Validate

fastforge workflow validate <FILE>

appstore

fastforge appstore [GLOBAL OPTIONS] <COMMAND>
Command groupSubcommands
applist, view
buildlist, view, upload, wait
versionlist, view, submit
submissionlist, view, create, items, add-item, remove-item, submit, cancel
catalogpull, push
apiget, post, patch, delete

Global options:

  • --json <FIELDS>
  • --limit <LIMIT>
  • --paginate
  • --verbose
  • --debug
  • --no-color

appgallery

fastforge appgallery [GLOBAL OPTIONS] <COMMAND>
Command groupSubcommands
appresolve, view
packagelist, status
releasesubmit an app for review
apiget, post, put, patch, delete

See AppGallery Connect for authentication and examples.

googleplay

fastforge googleplay [GLOBAL OPTIONS] <COMMAND>
Command groupSubcommands
appview, check
editcreate, commit, delete
bundleupload
tracklist, view, update
catalogpull, push
apiget, post, put, patch, delete

Global options:

  • --json <FIELDS>
  • --limit <LIMIT>
  • --verbose
  • --debug
  • --no-color

Store subcommands have many options. Use help at each command level to inspect the current definitions:

fastforge appstore build upload --help
fastforge appstore submission create --help
fastforge appgallery app resolve --help
fastforge googleplay bundle upload --help
fastforge googleplay track update --help

version-check

fastforge version-check [--current-only]

The current implementation prints only the version embedded at compile time. It does not check the network for a newer version, with or without --current-only.

upgrade

fastforge upgrade

The command is currently a no-op and does not download or replace the binary. Upgrade by running the installation script again or installing a specific version.