module

Pomtex::Help

Shell completions and the man page, generated from pomtex --help so that neither can drift from the options the parser actually accepts.

Constants

COMMAND_LINE = /^\s+pomtex ([a-z]+) ?(.*?)\s{2,}(\S.*)$/
ENGINES = {"pdflatex", "xelatex", "lualatex"}
OPTION_LINE = /^\s+(?:-(\w)(?: \S+)?, )?--([\w-]+)(?:=(\S+))?\s{2,}(\S.*)$/
SHELLS = {"bash", "fish", "zsh"}
VARIABLE_LINE = /^\s+([A-Z][A-Z_]+)\s{2,}(\S.*)$/

Instance methods

bash(help : String) : String
Source
commands(help : String) : Array(Command)
Source
completion(shell : String, help : String) : String
Source
fish(help : String) : String
Source
man(help : String) : String
Source
options(help : String) : Array(Option)
Source
variables(help : String) : Array(Variable)
Source
zsh(help : String) : String
Source

Nested types