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 IoC container resolves the runtime Deeplink facade.
Usage
dart run <app>:artisan deeplink:install
dart run <app>:artisan deeplink:install --force
dart run <app>:artisan deeplink:install --dry-run
Constructors
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
ArtisanContext.bare.no setterinherited - description → String
-
One-line description (rendered in
artisan listnext to name).no setter - hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
Dispatch key. Colons (
:) act as namespace prefixes forartisan listgrouping (e.g.dusk:snapgroups underdusk).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(
ArtisanContext ctx) → InstallContext -
Constructs the production
InstallContextwired aroundctx.inherited -
configure(
ArgParser parser) → void -
Auto-applies
signatureto the parser when set. Override to register extra ArgParser features (mandatory options, aliases, custom value validators). When you override, callsuper.configure(parser)first if you also use the signature DSL.inherited -
handle(
ArtisanContext ctx) → Future< int> - Execute the command. Returns the process exit code.
-
isDryRun(
ArtisanContext ctx) → bool -
Returns
truewhen the operator passed--dry-run.inherited -
isForce(
ArtisanContext ctx) → bool -
Returns
truewhen the operator passed--force.inherited -
isNonInteractive(
ArtisanContext ctx) → bool -
Returns
truewhen the operator passed--non-interactive.inherited -
isSkipBootstrap(
ArtisanContext ctx) → bool -
Returns
truewhen the operator passed--no-bootstrap.inherited -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
pluginName(
ArtisanContext 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