aim_cli
Development tools for the Aim ecosystem.
Features
- Project Scaffolding - Create new projects with
aim create - Development Server - Hot reload with
aim dev - Production Build - Compile to native executable with
aim build - Environment Configuration - Manage env variables via
pubspec.yaml
Quick Start
Installation
bash
dart install aim_cliCreate a Project
bash
aim create my_app
cd my_appStart Development Server
bash
aim devOutput:
🚀 Starting development server...
📁 Watching: lib, bin
🔥 Hot reload enabled
Server running on http://localhost:8080Build for Production
bash
aim buildOutput:
🔨 Compiling for production...
📁 Entry point: bin/server.dart
📦 Output: build/server
✅ Build successful!Commands
| Command | Description |
|---|---|
aim create <name> | Create a new project |
aim dev | Start dev server with hot reload |
aim build | Compile for production |
Configuration
Configure via pubspec.yaml:
yaml
name: my_app
dependencies:
aim_server: ^0.0.6
aim:
entry: bin/server.dart
env:
PORT: "8080"
DATABASE_URL: ${DATABASE_URL}Next Steps
- Installation - Detailed setup
- Commands - All CLI commands
- Configuration - Environment variables
