https://github.com/voidcoefficient/cfs
local key-value store for shell scripts
https://github.com/voidcoefficient/cfs
Last synced: 6 months ago
JSON representation
local key-value store for shell scripts
- Host: GitHub
- URL: https://github.com/voidcoefficient/cfs
- Owner: voidcoefficient
- License: bsd-3-clause
- Created: 2022-08-13T18:02:16.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-11-27T00:11:30.000Z (about 3 years ago)
- Last Synced: 2025-07-07T17:46:22.821Z (7 months ago)
- Language: Rust
- Homepage: https://crates.io/crates/cfs
- Size: 13.7 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# `cfs`
quickly save and retrieve values for shell scripts.
## building from source
you will need the [rust toolchain](https://rustup.rs) to run `cargo`.
```shell
cargo install cfs
```
## example usage
make sure `$HOME/.cargo/bin` is in your `PATH` variable.
```shell
cfs set foo bar
```
```shell
cfs get foo
```
output:
```
bar
```
## help
exert of the output of `cfs --help`.
```
Commands:
s, set : set a value
g, get : get a value
l, list : list all keys and values
i, init : inits config file
r, remove : remove a value
c, clear : clear your config file
```
## license
[BSD-3-Clause](LICENSE)