appflight_cli 0.2.0 copy "appflight_cli: ^0.2.0" to clipboard
appflight_cli: ^0.2.0 copied to clipboard

AppFlight CLI — upload APKs from your terminal or CI pipelines without the Play Store.

example/example.dart

// AppFlight CLI — No-Flavor Flutter Project Setup Example
//
// This example shows how to configure AppFlight CLI for a standard Flutter
// app that does not use multiple build flavors.
//
// ─── Prerequisites ────────────────────────────────────────────────────────────
//
// 1. Install the CLI:
//    dart pub global activate appflight_cli
//
// 2. Generate an API key in the AppFlight mobile app:
//    Settings → API Keys → tap +
//
// 3. Log in:
//    appflight_cli login
//
// ─── Project Setup ────────────────────────────────────────────────────────────
//
// Run from your Flutter project root (no --flavors flag for single-variant apps):
//
//    appflight_cli init
//
// You will be prompted for your Android package name (applicationId), e.g.:
//    com.example.myapp
//
// This creates appflight.json in your project root — commit it with your team.
// See the bundled appflight.json in this directory for the generated structure.
//
// ─── Build & Upload ───────────────────────────────────────────────────────────
//
//    flutter build apk --release
//    appflight_cli upload
//
// Your testers are notified automatically after a successful upload.
//
// ─── CI/CD (optional) ─────────────────────────────────────────────────────────
//
// Set APPFLIGHT_API_KEY as a repository secret — no login step needed in CI:
//
//    - name: Upload to AppFlight
//      run: appflight_cli upload
//      env:
//        APPFLIGHT_API_KEY: ${{ secrets.APPFLIGHT_API_KEY }}
//
// Full docs: https://docs.page/mhmzdev/appflight-cli-docs
// Issues:    https://github.com/mhmzdev/appflight-cli-docs/issues

void main() {
  // This package is a CLI tool — run it directly from your terminal.
  // See the comments above for the full setup walkthrough.
  // ignore: avoid_print
  print('Run: dart pub global activate appflight_cli');
}
1
likes
0
points
706
downloads

Publisher

verified publishermhmz.dev

Weekly Downloads

AppFlight CLI — upload APKs from your terminal or CI pipelines without the Play Store.

Homepage
Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

args, cli_util, dio, io, path, pub_semver, yaml

More

Packages that depend on appflight_cli