Usage:
get <namespace> <key>
set <namespace> <key> <value> [--strict]
delete <namespace> <key> [--strict]
Arguments:
<namespace> A unique value used to prevent storage conflicts.
<key> The key to operate on.
<value> The value to store (only for 'set').
--strict Optional boolean flag (true/false). Defaults to false.
- For 'set': If the key already exists, the command will fail.
- For 'delete': If the key does not exist, the command will fail.
Examples:
set namespace key value
set namespace key value --strict
get namespace key
delete namespace key
delete namespace key --strict
[!TIP] Run
chmod +x main.swift
to fixzsh: permission denied: ./main.swift
error.