Home Explore Blog Models CI



ragit

docs/commands/ls-images.txt
415be5e0528451f95ac3930e549d269143c9114cddc0ee0800000003000002c5
rag-ls-images(1)
==========

NAME
----
rag-ls-images - Show information about images

SYNOPSIS
--------
[verse]
'rag ls-images' [--stat-only | --uid-only] [--json | -j] [--abbrev <n=9>]
            [<uid>..]

DESCRIPTION
-----------
Run `rag help uid-query` to read how uid-query works. If the uid is not of
an image, it dies.

Instead of showing the full 64-byte uid, it shows the first `n` bytes of uid,
where `n` is set by `--abbrev` option. Unlike git, it doesn't use any
heuristics to guarantee that the abbreviated uid is unique.

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

- no flags: `[image: object]`
- `--uid-only`: `[uid: string]`
- `--stat-only`: `{ "images": integer }`

Chunks
9d3da56c (1st chunk of `docs/commands/ls-images.txt`)
Title: rag-ls-images Command
Summary
The rag-ls-images command is used to display detailed information about images, allowing for various output options such as stat-only, uid-only, and json output, with customizable uid abbreviation, enabling users to tailor the output to their specific needs and preferences.