armature-cli

Crates.ioarmature-cli
lib.rsarmature-cli
version0.2.2
created_at2025-12-26 18:46:45.898571+00
updated_at2025-12-30 22:18:27.721937+00
descriptionCLI tool for Armature framework - scaffolding and development
homepagehttps://pegasusheavy.github.io/armature
repositoryhttps://github.com/pegasusheavy/armature
max_upload_size
id2006076
size395,311
Joseph R. Quinn (quinnjr)

documentation

README

armature-cli

CLI tool for the Armature framework.

Features

  • Project Generation - Create new projects
  • Code Generation - Generate controllers, models, etc.
  • Development Server - Hot reload development
  • Database Migrations - Run and manage migrations
  • Build Tools - Production builds and optimization

Installation

cargo install armature-cli

Commands

Create Project

armature new my-app
cd my-app

Generate Code

# Generate a controller
armature generate controller users

# Generate a model
armature generate model user

# Generate a migration
armature generate migration create_users

Development Server

# Start with hot reload
armature dev

# Specify port
armature dev --port 8080

Database

# Run migrations
armature db migrate

# Rollback
armature db rollback

# Reset database
armature db reset

Build

# Development build
armature build

# Production build
armature build --release

Configuration

Create armature.toml in your project root:

[project]
name = "my-app"

[server]
port = 3000
host = "127.0.0.1"

[database]
url = "postgres://localhost/mydb"

License

MIT OR Apache-2.0

Commit count: 0

cargo fmt