-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
42 additions
and
31 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "salvo-cli" | ||
version = "0.1.15" | ||
version = "0.1.16" | ||
edition = "2021" | ||
authors = ["Fankai Liu [email protected]"] | ||
keywords = ["salvo", "cli","template"] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,45 +1,58 @@ | ||
<div align="center"> | ||
<p><img alt="Savlo" width="132" style="max-width:40%;min-width:60px;" src="https://p.sda1.dev/13/9268fb110f27611fa143c7aafbac61ab/monkeybread4352_a_technology_software_logo_for_windseabird_with_8fb4a0df-e233-414e-80a3-cf144ef44209.png" /> | ||
<a href="https://github.com/salvo-rs/salvo-cli/actions"> | ||
<img alt="build status" src="https://github.com/salvo-rs/salvo-cli/actions/workflows/rust.yml/badge.svg?branch=main" /> | ||
</a> | ||
<a href="https://crates.io/crates/salvo-cli"><img alt="crates.io" src="https://img.shields.io/crates/v/salvo-cli" /></a> | ||
<a href="https://crates.io/crates/salvo-cli"><img alt="Download" src="https://img.shields.io/crates/d/salvo-cli.svg" /></a> | ||
<img alt="License" src="https://img.shields.io/crates/l/salvo-cli.svg" /> | ||
</p> | ||
<img alt="Savlo" width="132" src="https://p.sda1.dev/13/9268fb110f27611fa143c7aafbac61ab/monkeybread4352_a_technology_software_logo_for_windseabird_with_8fb4a0df-e233-414e-80a3-cf144ef44209.png" /> | ||
</div> | ||
<div align="center"> | ||
<a href="https://github.com/salvo-rs/salvo-cli/actions"> | ||
<img alt="build status" src="https://github.com/salvo-rs/salvo-cli/actions/workflows/rust.yml/badge.svg?branch=main" /> | ||
</a> | ||
<a href="https://crates.io/crates/salvo-cli"> | ||
<img alt="crates.io" src="https://img.shields.io/crates/v/salvo-cli" /> | ||
</a> | ||
<a href="https://crates.io/crates/salvo-cli"> | ||
<img alt="Download" src="https://img.shields.io/crates/d/salvo-cli.svg" /> | ||
</a> | ||
<img alt="License" src="https://img.shields.io/crates/l/salvo-cli.svg" /> | ||
</div> | ||
|
||
## Introduction | ||
|
||
Salvo CLI is a command-line interface tool for the [Salvo](https://github.com/salvo-rs/salvo) web framework. It helps streamline the process of setting up a new Salvo project by generating a template structure. | ||
|
||
## Installation | ||
|
||
```bash | ||
cargo install salvo-cli | ||
``` | ||
|
||
## Usage | ||
|
||
To create a new Salvo project, use the new command followed by the name of your project: | ||
|
||
```bash | ||
salvo-cli new project_name | ||
``` | ||
|
||
## Update | ||
|
||
```bashs | ||
cargo install --force salvo-cli | ||
``` | ||
|
||
### Feature Development Plan | ||
|
||
| Status |Plan | | ||
|:---:|:---:| | ||
|✅| web api template | | ||
|✅| web site template | | ||
|✅|Template with SQLx, SeaORM, Diesel, Rbatis (support for SQLite, PostgreSQL, MySQL)| | ||
|✅|Basic middleware | | ||
|⏳|More middleware| | ||
|⏳|Support for MongoDB| | ||
| Status | Plan | | ||
| :----: | :--------------------------------------------------------------------------------: | | ||
| ✅ | web api template | | ||
| ✅ | web site template | | ||
| ✅ | Template with SQLx, SeaORM, Diesel, Rbatis (support for SQLite, PostgreSQL, MySQL) | | ||
| ✅ | Basic middleware | | ||
| ⏳ | More middleware | | ||
| ⏳ | Support for MongoDB | | ||
|
||
## License | ||
|
||
This project is licensed under the MIT OR Apache-2.0 License. | ||
|
||
## Contributing | ||
|
||
Contributions are welcome! Please feel free to submit a Pull Request. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters