Lists keys stored in FerricStore, with optional glob pattern filtering.
Usage
mix ferricstore.keys [pattern]Arguments
pattern(optional) -- a glob pattern to filter keys. Supports*(match any sequence of characters) and?(match exactly one character). When omitted, all keys are listed.
Examples
# List all keys
mix ferricstore.keys
# List keys matching a prefix
mix ferricstore.keys "user:*"
# List keys with a single-char wildcard
mix ferricstore.keys "k?"Output
Prints each matching key on its own line, followed by a summary count.
Summary
Functions
@spec run(list()) :: :ok
Runs the keys task, listing keys that match the given pattern.
Parameters
args-- list of command-line arguments. The first element, if present, is treated as a glob pattern.