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