Crates.io | scm-cli |
lib.rs | scm-cli |
version | 0.1.0 |
source | src |
created_at | 2023-05-27 13:54:41.280192 |
updated_at | 2023-05-27 13:54:41.280192 |
description | An ergonomic ScyllaDB migration manager |
homepage | |
repository | https://github.com/valeralabs/scm |
max_upload_size | |
id | 875952 |
size | 54,733 |
scm
scm
is an ergonomic CLI tool to manage ScyllaDB clusters written in Rust. It's
very basic, very fast, and very easy to use.
cargo install scm-cli
scm --help
scm env create # create a new environment at dev.scm.toml
scm create "bob migration" # create a new migration
# edit the migration file
echo "CREATE KEYSPACE IF NOT EXISTS my_keyspace
WITH replication = {'class': 'SimpleStrategy', 'replication_factor': 1};" >> `scm list | tail -n 1`
scm apply # apply the migration to the default dev environment