rok-cli-0.3.6 is not a library.
rok-cli
The
rokdeveloper CLI — scaffolding, database management, code generation, and AI agent integration.
Part of the Rok Framework — a full-stack Rust web framework built on Axum 0.8 and SQLx 0.8.
Features
rok make:*generators — models, controllers, migrations, jobs, events, scaffoldsrok db:*commands — migrate, rollback, status, fresh, pull (introspect DB to stubs)rok queue:*commands — monitor, retry, flush queuesrok dev— hot-reload dev server wrappingcargo-watchrok tui— launch the rok-tui terminal dashboardrok agent:claude— start a Claude Code session with Rok coding conventions pre-loadedrok plan:*— navigate the implementation roadmap, print next phase, render a DOT graphrok self-update/rok self-migrate/rok self-status— CLI lifecycle management--jsonflag on every command for machine-readable output
Installation
Or with rok-tui bundled:
Quick Start
# Create a new Rok project
# Generate a model with migration
# Generate a CRUD controller
# Run database migrations
# Start the development server with hot reload
Code Generation
# Models and migrations
# Controllers
# Background jobs and events
# Full auth scaffold (JWT + session + social login stubs)
# Full billing scaffold (Stripe webhook + subscription model)
# Generate a feature from a JSON spec file
Database Commands
Queue Commands
Self-Management
Planning and AI Agent Integration
Developer Utilities
JSON Output
Every command supports --json / -j:
# {"installed":"0.2.0","latest":"0.2.1","needs_migration":false}
|
|
License
MIT