aerocoding
v0.1.30
Published
AeroCoding CLI - Generate production-ready code from UML diagrams
Maintainers
Readme
AeroCoding CLI
Generate production-ready code from your UML diagrams.
Installation
npm install -g aerocodingQuick Start
# 1. Login (once)
aerocoding login
# 2. Create a new project
aerocoding create
# 3. Make changes in the diagram editor on aerocoding.dev
# 4. Update your code incrementally
aerocoding updateCommands
aerocoding login
Authenticate with your AeroCoding account. Opens browser for secure OAuth authentication.
aerocoding loginaerocoding create [name]
Interactive wizard to create a new AeroCoding project with full architecture generation.
# Interactive (recommended)
aerocoding create
# With custom directory name
aerocoding create my-projectOptions:
-t, --template <id>- Skip template selection-p, --project <id>- Skip project selection-f, --force- Overwrite existing directory without asking
Creates:
aerocoding.json- Project configurationaerocoding-manifest.json- File tracking manifest (auto-generated)backend/- Generated backend code
aerocoding update
Incrementally update generated code while preserving your changes.
aerocoding updateOptions:
-f, --force- Overwrite modified files without merging-v, --verbose- Show detailed file operations--dry-run- Preview changes without writing files
Features:
- Three-way merge to preserve your custom code
- Creates
.newand.conflictfiles when merge fails - Syncs manifest to cloud for backup
aerocoding resolve
Clean up conflict files after manual resolution.
aerocoding resolveOptions:
-v, --verbose- Show detailed resolution info-a, --all- Resolve all conflicts without confirmation
aerocoding whoami
Show current authenticated user.
aerocoding logout
Clear stored credentials.
Configuration Files
aerocoding.json
Project configuration (user-editable):
{
"$schema": "https://aerocoding.dev/schema.json",
"projectId": "your-project-id",
"templateId": "clean-arch-dotnet",
"templateVersion": "1.0.0",
"namespace": "MegaStore",
"organizationId": "your-org-id",
"output": {
"backend": "./backend",
"frontend": "./frontend"
}
}aerocoding-manifest.json
Auto-generated file tracking (do not edit):
{
"version": "1.0.0",
"lastSync": "2024-01-15T10:30:00Z",
"files": {
"backend/src/Domain/Customer.cs": {
"hash": "sha256:abc123...",
"mtime": 1705312200000,
"size": 2847,
"type": "entity"
}
}
}Incremental Generation
AeroCoding uses smart merging to preserve your custom code:
- Unchanged files: Silently updated
- Modified files: Three-way merge attempted
- Conflicts: Creates
.newand.conflictfiles for manual resolution
Customer.cs <- Your version (unchanged)
Customer.cs.new <- New generated version
Customer.cs.conflict <- Diff showing conflictsAfter resolving conflicts manually, run aerocoding resolve to clean up.
Security
Credentials are stored securely in your OS credential manager:
- macOS: Keychain
- Windows: Credential Manager
- Linux: Secret Service API
Links
License
MIT
