Home Explore Blog CI



ragit

docs/commands/version.txt
50553871b360542619f33d34f54ed1a1cbfa8fc52b44b16600000003000001f0
rag-version(1)
==============

NAME
----
rag-version - Display version information about ragit

SYNOPSIS
--------
[verse]
'rag version' [--build-options] [--json | -j]

DESCRIPTION
-----------
It dumps the version of ragit to the stdout.

If `--json` is set, it dumps a valid json to the stdout. Its schema is,

- no flags: `version: string`
- `--build-options`: { "version": string, "profile": string, "features": { profile: bool } }
  - `profile` is either "debug", "release", or "production".

Chunks
c8449658 (1st chunk of `docs/commands/version.txt`)
Title: Rag Version Command
Summary
The rag-version command displays version information about ragit, with optional flags to include build options and output in JSON format. It can be used to retrieve the version of ragit and dump it to the standard output, with the option to include additional build information such as the profile and features used.