class

Pomtex::CLI

Inherits Reference < Object

Constants

COMMANDS = {"build", "watch", "scan", "fetch", "bootstrap", "index", "list", "remove", "clean", "doctor", "completions", "manpage"}
ENVIRONMENT = "\nEnvironment:\n POMTEX_HOME where pomtex keeps its data (default: $XDG_CACHE_HOME/pomtex)\n POMTEX_MIRROR TeX Live repository for arils (default: #{Config::DEFAULT_MIRROR})\n POMTEX_HISTORIC_MIRROR past TeX Live releases, used when the TeX kernel is older than tlnet\n POMTEX_RIND_VERSION pin the TinyTeX release of the rind, e.g. v2026.10\n POMTEX_RIND_URL download the rind from this URL instead\n POMTEX_USE_RIND same as --rind"
USAGE = "pomtex #{VERSION} — the pomegranate TeX engine: a featherlight rind, arils on demand.\n\nUsage:\n pomtex build <file.tex> compile, fetching missing packages on the fly\n pomtex watch <file.tex> rebuild whenever the document (or its inputs) change\n pomtex scan <file.tex> list what a document needs and what is missing\n pomtex fetch <pkg|file>... plant arils explicitly (e.g. `pgf`, `tikz-cd.sty`)\n pomtex bootstrap [--force] download the portable TeX kernel (the rind)\n pomtex index [--refresh] build/refresh the CTAN file → package index\n pomtex list [--names] show planted arils\n pomtex remove <aril>... uproot arils\n pomtex clean [--all] remove all arils (and with --all the rind and index)\n pomtex doctor report what pomtex sees on this machine\n pomtex completions <shell> print completions for bash, fish or zsh\n pomtex manpage print the man page (roff)\n\nOptions:"

Instance methods

all=(all : Bool)
Source
args
Source
args=(args : Array(String))
Source
command
Source
command=(command : String)
Source
debounce
Source
debounce=(debounce : Time::Span)
Source
engine
Source
engine=(engine : String | Nil)
Source
force
Source
force=(force : Bool)
Source
jobs
Source
jobs=(jobs : Int32)
Source
names
Source
names=(names : Bool)
Source
offline
Source
offline=(offline : Bool)
Source
outdir
Source
outdir=(outdir : String | Nil)
Source
prefer_rind
Source
prefer_rind=(prefer_rind : Bool)
Source
refresh
Source
refresh=(refresh : Bool)
Source
run(argv : Array(String)) : Int32
Source
stream
Source
stream=(stream : Bool)
Source