3 releases (breaking)

0.3.0 Jun 13, 2023
0.2.0 Jun 6, 2023
0.1.0 May 31, 2023

#35 in #template-generator

MIT license

22KB
496 lines

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>

Dependencies

~10–23MB
~327K SLoC