cli library

Flutter-free dowel-CLI surface for magic_deeplink.

Exposes ONLY the dowel-CLI surface (MagicDeeplinkDowelProvider + the CLI commands). Does NOT export magic_deeplink runtime (no Flutter dart:ui imports), so this barrel is safe for consumption from pure-Dart dowel dispatchers.

plugin:install registers the provider in the consumer's bin/dispatcher.dart; wiring it by hand looks like:

import 'package:dowel/dowel.dart';
import 'package:magic_deeplink/cli.dart' show MagicDeeplinkDowelProvider;

Future<void> main(List<String> args) async {
  final registry = DowelRegistry()
    ..registerProvider(MagicDeeplinkDowelProvider());
  exit(await DowelApplication(registry: registry).dispatch(args));
}

Runtime consumers (lib/main.dart of a Magic-based app) continue to import package:magic_deeplink/magic_deeplink.dart for the full surface.

Classes

DoctorCommand
Diagnostic command for a magic_deeplink install.
GenerateCommand
CLI command to generate deep link server-side configuration files.
InstallCommand
deeplink:install, installs magic_deeplink via the bundled install.yaml manifest.
MagicDeeplinkDowelProvider
Dowel provider that registers all magic_deeplink CLI commands.
RemoteAssociationFile
A --remote HTTP response, trimmed to what the doctor checks: status, content-type, and the raw body to attempt a JSON parse against.
RemoteCheckResult
Findings from validating a file or a remote fetch: hard failures that fail the command, and warnings that do not.