DeeplinkCommand constructor

DeeplinkCommand()

Implementation

DeeplinkCommand() {
  argParser.addOption(
    'domain',
    abbr: 'd',
    help: 'Domain for App Links and Universal Links (e.g., example.com)',
    valueHelp: 'example.com',
  );
  argParser.addOption(
    'scheme',
    abbr: 's',
    help: 'Custom URL scheme (e.g., myapp)',
    valueHelp: 'myapp',
  );
  argParser.addFlag(
    'dry-run',
    negatable: false,
    help: 'Show what will be done without making any changes',
  );
  argParser.addFlag(
    'test',
    negatable: false,
    help: 'Test deep links on connected devices',
  );
  argParser.addOption(
    'url',
    help: 'URL to test (for --test flag)',
    valueHelp: 'https://example.com/path or myapp://path',
  );
  argParser.addFlag(
    'android',
    negatable: false,
    help: 'Test on Android only (for --test flag)',
  );
  argParser.addFlag(
    'ios',
    negatable: false,
    help: 'Show iOS test instructions (for --test flag)',
  );
}