scm-cli

Crates.ioscm-cli
lib.rsscm-cli
version0.1.0
sourcesrc
created_at2023-05-27 13:54:41.280192
updated_at2023-05-27 13:54:41.280192
descriptionAn ergonomic ScyllaDB migration manager
homepage
repositoryhttps://github.com/valeralabs/scm
max_upload_size
id875952
size54,733
Azz (617a7a)

documentation

README

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.

Installation

cargo install scm-cli

Usage

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
Commit count: 3

cargo fmt