lep kv
Manage KV stores on the Lepton AI cloud.
The Lepton Key-Value store. Every named KV can be considered the equivalent of a conventional KV / table / collection, composed of keys as strings and values as bytes.
The kv commands allow you to create, list, and remove KVs on the Lepton AI cloud.
Usage
lep kv [OPTIONS] COMMAND [ARGS]...
Options
--help
: Show this message and exit.
Commands
create
: Creates a KV of the given name.deletekey
: Receives a message from the kv with the given name.getkey
: Receives a message from the kv with the given name.list
: Lists all kvs in the current workspace.putkey
: Sends a message to the kv with the given name.remove
: Removes the KV with the given name.
lep kv create
Creates a KV of the given name.
Usage
lep kv create [OPTIONS]
Options
-n
,--name TEXT
: KV name [required]--help
: Show this message and exit.
lep kv list
Lists all kvs in the current workspace. Note that the kv values are always hidden.
Usage
lep kv list [OPTIONS]
Options
--pattern TEXT
: Regular expression pattern to filter KV names--help
: Show this message and exit.
lep kv remove
Removes the KV with the given name.
Usage
lep kv remove [OPTIONS]
Options
-n
,--name TEXT
: KV name [required]--help
: Show this message and exit.
lep kv putkey
Sends a message to the kv with the given name.
Usage
lep kv putkey [OPTIONS]
Options
-n
,--name TEXT
: KV name [required]-k
,--key TEXT
: Key to put [required]-v
,--value TEXT
: Value to put [required]--help
: Show this message and exit.
lep kv getkey
Receives a message from the kv with the given name.
Usage
lep kv getkey [OPTIONS]
Options
-n
,--name TEXT
: KV name [required]-k
,--key TEXT
: Key to get [required]--help
: Show this message and exit.
lep kv deletekey
Receives a message from the kv with the given name.
Usage
lep kv deletekey [OPTIONS]
Options
-n
,--name TEXT
: KV name [required]-k
,--key TEXT
: Key to delete [required]--help
: Show this message and exit.