Crates.io | rwf-cli |
lib.rs | rwf-cli |
version | 0.1.3 |
source | src |
created_at | 2024-10-15 20:39:14.74794 |
updated_at | 2024-10-15 21:42:21.326533 |
description | Rust Web Framework CLI |
homepage | |
repository | |
max_upload_size | |
id | 1410326 |
size | 50,045 |
Rwf comes with its own command-line interface (CLI) which helps managing projects.
Install the CLI using Cargo:
$ cargo install rwf-cli
If you have configured Cargo correctly, you should be able to use the CLI directly:
$ rwf-cli --help
If not, add ~/.cargo/bin/
to your PATH
.
Rwf CLI supports the following features:
$ rwf migrate add --name "name_of_your_migration"
$ rwf migrate run
$ rwf migrate revert
This will revert all migrations (deleting all data) and re-create all tables and indexes:
$ rwf migrate flush