runDeeplinkCli function

Future<int> runDeeplinkCli(
  1. List<String> args
)

CLI adapter for fdb deeplink <url>.

Output contract: DEEPLINK_OPENED=<url> (success) ERROR: No URL provided (no positional arg) ERROR: No active fdb session found. Run fdb launch first. (no session) ERROR: Deep links are only supported on Android devices and iOS simulators (unsupported platform) ERROR: Failed to open deep link: <details> (open failed) WARNING: Universal Links (https://) may open Safari instead of the app on iOS simulator (written to stderr BEFORE open attempt for https:// on iOS)

Implementation

Future<int> runDeeplinkCli(List<String> args) => runSimpleCliAdapter(
      args,
      _execute,
      helpText: 'Usage: fdb deeplink <url>',
    );