MagicArtisanProvider class

Contributes magic:* (and make:* / key:generate) commands to the artisan dispatcher.

Host integration:

// lib/config/app.dart
final appConfig = {
  'artisan': {
    'providers': [MagicArtisanProvider.new],
  },
};

Ships the full 16-command magic code-gen surface that used to live in the magic_cli package: 14 make:* generators + magic:install + key:generate.

Constructors

MagicArtisanProvider()

Properties

hashCode int
The hash code for this object.
no setterinherited
providerName String
Human-readable provider name (used in collision error messages). Defaults to the runtime class name.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

commands() List<ArtisanCommand>
Returns the commands this provider contributes to the application.
mcpTools() List<McpToolDescriptor>
Returns the MCP tool descriptors this provider contributes.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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