bloom_cli 0.7.6
bloom_cli: ^0.7.6 copied to clipboard
The official command-line interface for the Bloom application framework and developer platform.
Bloom CLI #
The official command-line interface for the Bloom application framework.
📦 Installation #
Activate bloom_cli globally using Dart:
dart pub global activate bloom_cli
Make sure your pub cache bin directory is added to your system PATH.
🛠️ Commands Overview #
# Create a new project
bloom create my_app
# Create using a starter template
bloom create my_store --template ecommerce
# Start local interactive dev orchestrator
bloom dev
# Health and environment diagnostics
bloom doctor
bloom doctor --ci
# Native module authoring and sandbox
bloom create module my_sensor
bloom module dev
bloom module test
# Manage dependencies & native autolinking
bloom add bloom_camera
bloom deps
bloom why bloom_camera
# Asset optimization pipeline
bloom assets optimize
bloom assets analyze
bloom assets generate
# Security & dependency vulnerability audit
bloom audit
bloom security scan
# Architectural explanation & graph visualization
bloom explain route /users/42
bloom graph
# Package registry search
bloom registry search
# Automated framework upgrades & AST migrations
bloom upgrade
bloom doctor --upgrade
bloom.yaml editor support #
New Flutter and JS Native projects include a YAML language server schema comment. Editors that support this modeline provide completion and type diagnostics for known manifest fields. The schema also documents web, NPM, and proxy settings. Custom plugin fields remain open for extension.
For an existing project, add this as the first line of bloom.yaml:
# yaml-language-server: $schema=https://raw.githubusercontent.com/Chidi09/Bloom/main/packages/bloom_cli/schema/bloom.schema.json
📚 Documentation #
For complete command references and architectural guides, see the Bloom Documentation.