Skip to main content

Module cli

Module cli 

Source
Expand description

CLI subcommand modules and shared lookup helpers.

Modules§

batch
cache
Cache management subcommand.
completions
faith completions <shell> — emit shell completion script to stdout.
config
Configuration management for Faith CLI.
diff
faith diff — compare two or more translations for the same reference.
get
info
faith info <book> [--tr <id>] — book metadata lookup.
install
list
manifest
random
faith random — uniformly random verse with deterministic seed support.
search
faith search — full-text search across installed translations.
stats
faith stats — observability over the installed dataset.
tabular
Tabular row formatting for --format tsv / --format csv.

Enums§

OutputFormat
Output format selector across user-facing subcommands.

Constants§

MAX_RANGE_VERSES

Functions§

info_canonical_book
lookup
render_text
resolve_by_lang
Resolve a language code (ISO 639-2 like pt or ISO 639-3 like por) to the first matching translation alias in the catalog.
resolve_translation