Home Explore Blog CI



ragit

docs/commands/meta.txt
a23e3e5073ddf99014507067091ff36f01fa8c33e775603800000003000001a5
rag-meta(1)
==========

NAME
----
rag-meta - Get and set metadata

SYNOPSIS
--------
[verse]
'rag meta' --get <key> [--json]
'rag meta' --get-all [--json]
'rag meta' --set <key> <value>
'rag meta' [--remove | --unset] <key>
'rag meta' [--remove-all | --unset-all]

DESCRIPTION
-----------
It's like `rag config`, but it allows you to use any key.

Like git, it returns an error if you try to get or unset an invalid key.

Chunks
e64b9b96 (1st chunk of `docs/commands/meta.txt`)
Title: Rag Meta Command
Summary
The rag-meta command is used to get and set metadata, allowing for arbitrary key usage and returning errors for invalid keys. It provides various options, including getting a specific key, getting all keys, setting a key-value pair, removing or unsetting a key, and removing or unsetting all keys, with optional JSON output for getting operations.