addOptionUseApp method

void addOptionUseApp()

Adds a use app option for specifying pre-built application binaries.

Specify a pre-built application binary to use when running. For Android applications, this must be the path to an APK. For iOS applications, the path to an IPA. Other device types do not yet support prebuilt application binaries.

Example:

argParser.addOptionUseApp();

Implementation

void addOptionUseApp() {
  addOption(
    'use-app',
    abbr: 'a',
    help:
        '''Specify a pre-built application binary to use when running. For Android applications, this must be the
path to an APK. For iOS applications, the path to an IPA. Other device types do not yet support
prebuilt application binaries.''',
  );
}