id = "most"
name = "Most"
homepage = "https://www.jedsoft.org/most/"
description = "Powerful paging program"
executables = ["most"]
[dotfiles]
paths = ["~/.mostrc"]
secret = []
[commands]
format = 1
label = "View files"
description = "Page through one or more files. Start-up position (+line, +/string) and window commands are left out."
quality = "ai-draft"
parser = { end_of_options = "--", interleave = "permute", long_equals = false, short_attached = true, short_bundles = true }
[[commands.source]]
id = "man"
kind = "manual"
url = "https://manpages.debian.org/unstable/most/most.1.en.html"
revision = "debian-unstable-2026-10"
evidence = """
most [ -1 ] [ -b ] [ -C ] [ -c ] [ -d ] [ -M ] [ -r ] [ -s ] [ -t ] [ -u ] [ -v ] [ -w ] [ -z ] [ +/string ] [ +line-number ] [ +d ] [ +s ] [ +u ] [ file... ]
-b
Binary mode. Use this switch when you want to view files containing 8 bit characters.
-c
Make searches case-sensitive
-r
Default to using regexp searches
-s
Squeeze-mode. Replace multiple blank lines with a single blank line.
-w
Wrap lines
-z
Disable gunzip-on-the-fly
"""
[[commands.field]]
id = "files"
label = "Files"
type = "path"
position = 0
multiple = true
path = { kind = "file", role = "input" }
sources = ["man"]
[[commands.field]]
id = "wrap"
label = "Wrap long lines"
type = "boolean"
option = ["-w"]
sources = ["man"]
[[commands.field]]
id = "squeeze"
label = "Squeeze blank lines"
type = "boolean"
option = ["-s"]
sources = ["man"]
[[commands.field]]
id = "case_sensitive"
label = "Case-sensitive search"
type = "boolean"
option = ["-c"]
sources = ["man"]
[[commands.field]]
id = "regexp"
label = "Regexp search by default"
type = "boolean"
option = ["-r"]
sources = ["man"]
[[commands.field]]
id = "binary"
label = "Binary (hex) mode"
type = "boolean"
option = ["-b"]
sources = ["man"]
[[commands.field]]
id = "no_gunzip"
label = "Disable on-the-fly gunzip"
type = "boolean"
option = ["-z"]
sources = ["man"]
[[commands.task]]
id = "view"
label = "View files"
fields = ["files", "wrap", "squeeze"]
required = ["files"]
[[commands.task]]
id = "view_binary"
label = "View binary file"
fields = ["files"]
required = ["files"]
set = { binary = [true] }
[[commands.group]]
id = "basic"
label = "Basic"
fields = ["files", "wrap", "squeeze"]
[[commands.group]]
id = "advanced"
label = "Advanced"
fields = ["case_sensitive", "regexp", "binary", "no_gunzip"]