Migrate from DaisyCommand
Migrate from DaisyCommand
Section titled “Migrate from DaisyCommand”The main mental model stays the same: concise DSL, typed arguments, and readable execution blocks.
What changed
Section titled “What changed”- DaisyCore is now the home for commands
- plugin bootstrap happens through
DaisyPlatform - command sets are discovered from annotated providers
New normal path
Section titled “New normal path”- Move your commands into one or more
DaisyCommandProviderobjects. - Annotate each provider with
@DaisyCommandSet. - Enable
commands()inDaisyPlatform.create { ... }.