argParser property
Argument parser for the init command with platform-specific options.
Available options:
--android-package-nameor-a- Package name for Android application--ios-package-nameor-i- Bundle identifier for iOS application--skip-toolsor-s- Skip tool validation during initialization--google-service-accountor-g- Google service account for Fastlane integration
Implementation
@override
ArgParser get argParser => ArgParser()
..addOption(
"android-package-name",
abbr: 'a',
help: 'Package name for the application.',
defaultsTo: BuildInfo.androidPackageName,
)
..addOption("ios-package-name",
abbr: 'i',
help: 'Bundle identifier for the iOS application.',
defaultsTo: BuildInfo.iosBundleId)
..addFlag("skip-tools",
abbr: 's', help: 'Skip tool validation.', defaultsTo: false)
..addOption("google-service-account",
abbr: 'g',
help:
'Google service for fastlane, if it validated it will be copied to the fastlane directory.');