Home Explore Blog CI



ragit

1st chunk of `docs/commands/pull.txt`
80aec1ee9debcf0c43e026b1e05f9ee1173aea6f4ce2ec1d000000010000032a
rag-pull(1)
==========

NAME
----
rag-pull - Pull updates from remote

SYNOPSIS
--------
[verse]
'rag pull' [--[no-]configs] [--[no-]prompts] [--quiet | -q]

DESCRIPTION
-----------
By default, it does not pull configs and prompts. You have to use
`--configs` and `--prompts` flags to pull them. If there's no configs
or prompts in the remote, `--configs` and `--prompts` flags do nothing.

Ragit is not a version control system, it's a knowledge-base management system.
Unlike `git pull`, you cannot undo `rag pull`. Once it's pulled, the original
knowledge-base is overwritten with the new one and you cannot revert that.

It only writes to `.ragit/`. It does not touch the raw data files.

If the knowledge-base is private, you need an api key to pull. You have to set
`RAGIT_API_KEY` environment variable.

Title: Rag-Pull Command
Summary
The rag-pull command is used to pull updates from a remote knowledge-base, with options to include or exclude configurations and prompts, requiring an API key for private knowledge-bases. It overwrites the original knowledge-base and does not affect raw data files, unlike traditional version control systems.