Home Explore Blog CI



ragit

1st chunk of `docs/commands/version.txt`
c8449658f005d62d7d232a2817992e81d924063db48f0f5c00000001000001f0
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".

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.