air_cli 1.0.5
air_cli: ^1.0.5 copied to clipboard
The official CLI for the Air Framework. Streamline your Flutter development with modular architecture, automated code generation, and scalable state management.
Changelog #
1.0.5 #
- Adapter System: Added
air generate adapter <name>command to scaffold headless service integrations with the recommended structure (contracts, implementation, adapter). - Adapter Skill Documentation: Added
references/adapters.mdwith full adapter reference (lifecycle, boot order, contract rule, naming conventions, DevTools). - Updated Skill: Updated
SKILL.mdwith adapter keywords, quick-start, key rules (adapters before modules, contract rule), and updated file structure. - Updated CLI Reference: Added adapter generator section to
references/cli.md.
1.0.4 #
- Air Adapters: Introduced
AirAdapterbase class andAdapterManagerfor headless service integrations (HTTP, analytics, error tracking, etc.). - DevTools: Added ADAPTERS tab to the DevTools inspector (8 tabs total).
- Framework Exports: Updated
core.dartandframework.dartbarrel exports for adapters.
1.0.3 #
- AI Agent Selection: Added interactive selection and "all" option to
air skills install. Supports Antigravity, Claude Code, OpenCode, and Cursor. - Improved
air create: Added support forair create .to initialize projects in the current directory. Includes automatic snake_case project name derivation and sanitization. - Skills command: Added
air skills install— copies the Air Framework agent skill into.agent/skills/air_framework/and registers it inAGENTS.mdso AI agents automatically know where the skill is and what it does. - Module Autoinstall: The
module addcommand now prefersmodule.yamlfor dependency synchronization. This allows modules to define their dependencies without needing a fullpubspec.yaml. - Improved Injection: Updated skill documentation to recommend
inject<T>()overAirDI().get<T>()in state classes. - Improved Dependency Management: The
air createcommand now fetches the latest available versions ofair_framework,air_generator, andgo_routerfrom pub.dev. - Dynamic Versioning: CLI now dynamically reads its version from
pubspec.yaml.
1.0.2 #
- Generator Overhaul: Replaced the legacy 3-file state generation with a unified
@GenerateStatepattern. - Templates: Updated module and screen templates to use
extends AppModuleand the latestAirViewpatterns. - CLI improvements: Improved "Next steps" instructions after generation to include better dependency injection examples.
1.0.1 #
- Reactive State Generation: Added support for
@GenerateStateannotation with the--generatorflag. - API Changes: Updated
AppModuleinterface:onBind()->onBind(AirDI di)andinitialize()->onInit(AirDI di). - Improvements: Updated templates and generators to match the latest
air_frameworkchanges.
1.0.0 #
- Initial release of the Air CLI.
- Project Generation: Create new Air projects with
air create. - Module Management: Generate modular architecture structures with
air gen module. - Code Generators: Automate creation of Screens, States, Services, Widgets, and Models.
- Air State Management: Built-in support for the "Clap in the Air" state management pattern.
- Scalable Architecture: Enforces clean architecture and separation of concerns.