The SaaS RS CLI
Find a file
David Rauschenbach 6027500774 Release 0.6.4
2026-05-15 16:18:39 -07:00
src Support the new upgrade command 2026-04-11 17:19:34 +00:00
.gitattributes Support the new upgrade command 2026-04-11 17:19:34 +00:00
.gitignore Initial public release (#2) 2025-05-04 16:21:53 -07:00
.gitlab-ci.yml Upgrade Rust 1.94.1 → 1.95.0 2026-05-13 07:35:11 -07:00
.rustfmt.toml Initial public release (#2) 2025-05-04 16:21:53 -07:00
Cargo.lock Release 0.6.4 2026-05-15 16:18:39 -07:00
Cargo.toml Release 0.6.4 2026-05-15 16:18:39 -07:00
CHANGELOG.md Release 0.6.4 2026-05-15 16:18:39 -07:00
Makefile Provide a version subcommand (#5) 2025-05-05 07:19:16 -07:00
README.md In the README, document how to retry a failed login with Chrome (#26) 2025-05-23 16:27:33 -07:00

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:

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

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