docs delete

Delete all document entries below a key prefix.

Arguments

namenecessitydescription
prefixrequiredPrefix to delete. All entries whose key starts with or is equal to the prefix will be deleted

Examples

docs delete

> docs create --switch
2aoukeibc2vdy5n2jlihnyv3e26cmketqbropptqfef3v7poe5eq
Active doc is now 2aoukeibc2vdy5n2

author:luo73rdznvupzrjb doc:2aoukeibc2vdy5n2
> docs set key value
bafkr4iagirfesfxon7wneztow6ila3w5mm53jnmcq4sek6nnnxxv7wk6bm

author:luo73rdznvupzrjb doc:2aoukeibc2vdy5n2
> docs del key
Deleting all entries whose key starts with key. Continue? yes
Deleted 1 entries.
Inserted an empty entry for author luo73rdznvupzrjb with key key