| Crates.io | axum_cli |
| lib.rs | axum_cli |
| version | 0.3.0 |
| created_at | 2023-05-31 17:48:37.938388+00 |
| updated_at | 2023-06-13 15:42:17.816932+00 |
| description | Axum Web Template Generator |
| homepage | https://github.com/myyrakle/axum_cli/blob/master/README.md |
| repository | https://github.com/myyrakle/axum_cli |
| max_upload_size | |
| id | 879008 |
| size | 61,240 |
You can install it like this:
cargo install axum_cli
If generator is installed, you can create axum project template as follows.
axum new first_project
If you want to organize your project in the current directory, use the init command.
axum init first_project
If you want to add a new router that implements CRUD templates, run the following command in the root path of your project.
axum router new <route-name>
If you want to add a new middleware, run the following command in the root path of your project.
axum middleware new <middleware-name>