InstallCommand class

deeplink:install, installs magic_deeplink via the bundled install.yaml manifest.

Driven entirely by the manifest: publishes lib/config/deeplink.dart from the bundled stub, injects DeeplinkServiceProvider into lib/config/app.dart, and injects the deeplinkConfig factory into lib/main.dart so the Magic container has the deeplink config the provider reads. There is no Deeplink facade: DeeplinkManager() is the entry point.

Usage

dart run magic:dowel deeplink:install
dart run magic:dowel deeplink:install --force
dart run magic:dowel deeplink:install --dry-run

Constructors

InstallCommand()

Properties

baseFlags → String
Standard install-command flag fragment interpolated into every concrete subclass's signature.
no setterinherited
boot → CommandBoot
Install commands run before the Flutter app boots: no VM Service, no connected isolate. The dispatcher constructs a DowelContext.bare.
no setterinherited
description → String
One-line description (rendered in dowel list next to name).
no setter
hashCode → int
The hash code for this object.
no setterinherited
name → String
Dispatch key. Colons (:) act as namespace prefixes for dowel list grouping (e.g. tapir:snap groups under tapir).
no setterinherited
parsedSignature → CommandSignature?
Lazy-parsed signature. Cached for the lifetime of the instance.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
signature → String
Optional Laravel-style signature DSL. When set, name derives from it and configure auto-registers the declared options/flags.
no setter

Methods

buildContext(DowelContext ctx) → InstallContext
Constructs the production InstallContext wired around ctx.
inherited
configure(ArgParser parser) → void
Auto-applies signature to the parser when set. Override to register extra ArgParser features (mandatory options, aliases, custom value validators). When you override, call super.configure(parser) first if you also use the signature DSL.
inherited
handle(DowelContext ctx) → Future<int>
Execute the command. Returns the process exit code.
isDryRun(DowelContext ctx) → bool
Returns true when the operator passed --dry-run.
inherited
isForce(DowelContext ctx) → bool
Returns true when the operator passed --force.
inherited
isNonInteractive(DowelContext ctx) → bool
Returns true when the operator passed --non-interactive.
inherited
isSkipBootstrap(DowelContext ctx) → bool
Returns true when the operator passed --no-bootstrap.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pluginName(DowelContext ctx) → String
Identifier of the plugin this install command targets.
resolveManifestPath() → Future<String?>
Resolves the absolute path to the bundled install.yaml.
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited