← 返回命令列表

Linux command

skate 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Set a value

skate set [key] [value]

Get a value

skate get [key]

List all keys

skate list

Delete a key

skate delete [key]

Set from stdin

echo "[value]" | skate set [key]

Use specific database

skate set [key] [value] -d [mydb]

Sync to GitHub

skate sync

Link to GitHub gist

skate link [gist_url]

说明

skate is a personal key-value store that provides simple, fast storage directly from the command line. It stores arbitrary text data such as API keys, notes, code snippets, and configuration values, accessible by named keys. Data can be organized across multiple named databases using the -d flag. The sync command backs up data to a GitHub Gist, enabling sharing across machines. Values can be set from command arguments or piped from stdin, making it easy to store command output directly.

参数

set _KEY_ _VALUE_
Store value.
get _KEY_
Retrieve value.
list
List all keys.
delete _KEY_
Remove key.
sync
Sync with remote.
link _URL_
Link to gist.
-d, --database _NAME_
Database name.
--help
Show help.

FAQ

What is the skate command used for?

skate is a personal key-value store that provides simple, fast storage directly from the command line. It stores arbitrary text data such as API keys, notes, code snippets, and configuration values, accessible by named keys. Data can be organized across multiple named databases using the -d flag. The sync command backs up data to a GitHub Gist, enabling sharing across machines. Values can be set from command arguments or piped from stdin, making it easy to store command output directly.

How do I run a basic skate example?

Run `skate set [key] [value]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does set _KEY_ _VALUE_ do in skate?

Store value.