Azu - Command Line Interface
AZU is a toolkit for artisans with expressive, elegant syntax that offers great performance to build rich, interactive type safe, applications quickly, with less code and conhesive parts that adapts to your prefer style.
Clear ORM Support
Clear is an ORM (Object Relation Mapping) built for Crystal language.
Clear is built especially for PostgreSQL, meaning it's not compatible with MariaDB or SQLite for example. Therefore, it achieves to delivers a tremendous amount of PostgreSQL advanced features out of the box.
Add the dependency to your
dependencies: azu_cli: github: azutoolkit/azu_cli
azucommand should be installed and ready to use
azu project name --clear azu clear.model name -column:psqltype column:psqltype
project - Generates a new Azu project db - Manages database versions and schema dev - Starts server, watches for file changes and recompiles your project in the background Generators channel - Generates an Azu::Channel to handle websocket connections component - Generates an Azu::Component for building real time apps endpoint - Generates an Azu::Endpoint for handling http resources request - Generates an Azu::Request for validating and parsing http requests response - Generates an Azu::Response that renders html response body template - Generates a Crinja Template for building and rendering HTML migration - Generates a Clear ORM Migration to change Postgres databases model - Generates a Clear ORM Model and Migration
Note: Must define DATABSE_URL env variable for Clear ORM commands to work
- Fork it (https://github.com/azutoolkit/azu_cli/fork)
- Create your feature branch (
git checkout -b my-new-feature)
- Commit your changes (
git commit -am 'Add some feature')
- Push to the branch (
git push origin my-new-feature)
- Create a new Pull Request
- Elias J. Perez - creator and maintainer
- 3 days ago
- May 4, 2021
Fri, 14 May 2021 03:51:52 GMT