nimbus-cli 0.2.1

Run one command or open an interactive REPL to manage and sync objects in vaults. A vault is a filesystem-like tree that stores metadata plus a way to reach the object, so one can be backed by an API, your own filesystem, a shell command, or another vault.
1
2
3
4
5
6
7
8
9
10
11
12
13
name = "cmd-vault"

[origin_config]
type = "command"
list_cmd   = "{root}/cmd-vault.sh list {id}"
get_cmd    = "{root}/cmd-vault.sh get {id}"
fetch_cmd  = "cat {root}/data/{id}"
put_cmd    = "touch /home/arian/projects/rust/nimbus/crates/cli/test/command/data/{name}"
send_cmd   = "/home/arian/projects/rust/nimbus/crates/cli/test/command/send.sh"
delete_cmd = "rm -rf {root}/data/{id}"

[origin_config.extras]
root = "/home/arian/projects/rust/nimbus/crates/cli/test/command"