#salvo #template #cli-tool #web-framework #cli

app salvo-cli

Salvo CLI, a tool for the Salvo web framework, creates clean, easy-to-read code, saving you time for the more enjoyable aspects of life

49 releases

0.1.48 Apr 7, 2024
0.1.47 Mar 21, 2024
0.1.45 Feb 25, 2024
0.1.42 Jan 17, 2024
0.1.3 Sep 28, 2023

#1543 in Web programming

Download history 13/week @ 2024-01-01 82/week @ 2024-01-08 23/week @ 2024-01-15 2/week @ 2024-01-22 48/week @ 2024-02-12 200/week @ 2024-02-19 127/week @ 2024-02-26 762/week @ 2024-03-04 36/week @ 2024-03-11 143/week @ 2024-03-18 5/week @ 2024-03-25 115/week @ 2024-04-01 78/week @ 2024-04-08 19/week @ 2024-04-15

220 downloads per month

MIT/Apache

610KB
3.5K SLoC

Handlebars 2K SLoC // 0.0% comments Rust 1.5K SLoC // 0.0% comments JavaScript 68 SLoC // 0.1% comments SQL 54 SLoC // 0.0% comments
Savlo

Introduction

Salvo CLI, a tool for the Salvo web framework, creates clean, easy-to-read code, saving you time for the more enjoyable aspects of life.

If you've got a knack for making CLI even better, or if you've noticed a few quirks that could use some attention, don't be shy! Drop us an issue, we welcome your insights.

Installation

cargo install salvo-cli

Usage

To create a new Salvo project, use the new command followed by the name of your project:

//use the local language
salvo new project_name

// Use English
salvo new project_name --lang=en

// 使用简体中文
salvo new project_name --lang=zh

// 使用繁體中文
salvo new project_name --lang=zh_TW

// Utilisez le français
salvo new project_name --lang=fr

// 日本語を使用する
salvo new project_name --lang=ja

// Usa el español
salvo new project_name --lang=es

// Verwenden Sie Deutsch
salvo new project_name --lang=de

// Используйте русский
salvo new project_name --lang=ru

// Usa l `italiano
salvo new project_name --lang=it

// Use o português
salvo new project_name --lang=pt

// 한국어를 사용하십시오
salvo new project_name --lang=ko

// Bruk norsk
salvo new project_name --lang=no

// Notaðu íslensku
salvo new project_name --lang=is

// Використовуйте українську
salvo new project_name --lang=uk

// ใช้ภาษาไทย
salvo new project_name --lang=th

// Χρησιμοποιήστε την ελληνική
salvo new project_name --lang=el

// Brug dansk
salvo new project_name --lang=da

Update

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)
jwt,cors... middleware
Support for MongoDB
command:salvo run
Support for docker
More integrations with good crates (validation, permissions or others?)
Split into multiple crates for clearer code organization

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.

Dependencies

~25–40MB
~695K SLoC