A lightweight command-line key-value store built in Rust for storing, retrieving, and managing simple person records.
β
Add (set) a new person
β
Retrieve (get) a person by ID
β
List all persons (list)
β
Delete a person (delete)
β
Data persisted to a local db.json file
(Planned features)
update: modify an existing recordsearch: find by name or ageexport/import: backup and restore datastats: quick summary (count, average age, etc.)
Clone the repository and build it locally:
git clone https://github.com/<your-username>/cli-keyvalue-store.git
cd cli-keyvalue-store
cargo buildRun directly with Cargo:
cargo run -- <COMMAND> [ARGS]cargo run -- set <first_name> <last_name> <age>Example:
cargo run -- set Alice Johnson 30cargo run -- get <id>Example:
cargo run -- get 1cargo run -- delete <id>cargo run -- list