4 releases

new 0.1.6 May 23, 2025
0.1.5 May 17, 2025
0.1.4 May 10, 2025
0.1.3 May 4, 2025

#67 in Authentication

Download history 105/week @ 2025-04-30 153/week @ 2025-05-07 165/week @ 2025-05-14

423 downloads per month

MIT license

1.5MB
33K SLoC

The SaaS RS CLI

Installing

$ cargo install saas-rs-cli

Using

Login

Start by performing a web login to obtain a 24-hour session token.

$ saas-rs login
Logged in. Greetings David Rauschenbach!

If the CLI hangs after the web login completes, try a 2nd time, or try Chrome.

Create a new project

Start by initializing a new project

$ mkdir my_project
$ cd my_project
$ git init
$ saas-rs init --brand my-new-awesome-brand

Generate a user-facing endpoint and CLI

$ saas-rs generate service user

Generate a resource (a model, plus its CRUD verbs)

$ saas-rs generate resource project name:string --service user --version 1

Dependencies

~73–110MB
~2M SLoC