axum_cli

Crates.ioaxum_cli
lib.rsaxum_cli
version0.3.0
sourcesrc
created_at2023-05-31 17:48:37.938388
updated_at2023-06-13 15:42:17.816932
descriptionAxum Web Template Generator
homepagehttps://github.com/myyrakle/axum_cli/blob/master/README.md
repositoryhttps://github.com/myyrakle/axum_cli
max_upload_size
id879008
size61,240
myyrakle (myyrakle)

documentation

https://github.com/myyrakle/axum_cli/blob/master/README.md

README

axum_cli

GitHub license

You can install it like this:

cargo install axum_cli

generate project

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

add router

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>

add middleware

If you want to add a new middleware, run the following command in the root path of your project.

axum middleware new <middleware-name>
Commit count: 37

cargo fmt