appflight_cli 0.4.1
appflight_cli: ^0.4.1 copied to clipboard
AppFlight CLI — upload APKs from your terminal or CI pipelines without the Play Store.
Use this package as an executable
Install it
You can install the package from the command line:
dart pub global activate appflight_cliUse it
The package has the following executables:
$ appflight
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add appflight_cliWith Flutter:
$ flutter pub add appflight_cliThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
appflight_cli: ^0.4.1Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:appflight_cli/api/client.dart';
import 'package:appflight_cli/api/endpoints.dart';
import 'package:appflight_cli/commands/analytics_command.dart';
import 'package:appflight_cli/commands/init_command.dart';
import 'package:appflight_cli/commands/login_command.dart';
import 'package:appflight_cli/commands/logout_command.dart';
import 'package:appflight_cli/commands/upload_command.dart';
import 'package:appflight_cli/commands/whoami_command.dart';
import 'package:appflight_cli/config/credentials.dart';
import 'package:appflight_cli/config/project_config.dart';
import 'package:appflight_cli/detect/build_resolver.dart';
import 'package:appflight_cli/detect/flutter_detector.dart';
import 'package:appflight_cli/services/analytics_service.dart';
import 'package:appflight_cli/util/exit_codes.dart';
import 'package:appflight_cli/util/gradle_parser.dart';
import 'package:appflight_cli/util/logger.dart';
import 'package:appflight_cli/util/package_validator.dart';