Opening and viewing#
How gloss starts and what it draws with: the file menu and preview pane, terminal graphics, the screen it uses, which files it finds, and what it may fetch. gloss never fetches the network on its own.
| Option | Argument | Default | Description |
|---|---|---|---|
-m, --menu | start with the file-selection menu | ||
-P, --preview | start with the file menu and a preview pane | ||
-r, --render | string | "auto" | terminal graphics: auto, kitty, glyph |
-X, --no-alt-screen | draw on the main screen: scrollback is kept, and the last view stays after quitting | ||
-t, --type | string | force input type: image, svg, pdf, stl, 3mf, docx, xlsx, grist, csv, json, ipynb, html, text, markdown (or md) | |
--glob | stringArray | search the folders named, or the current one, for files: a glob, an extension, or a kind such as images (repeatable) | |
--fetch | allow opening a dropped URL or a table address with Enter; gloss never fetches on its own |
Examples#
# Look at some files, with a menu to choose among them
gloss --menu photo.png report.pdf model.stl
# A menu with a preview pane
gloss --preview *.png
# Every image under the current folder
gloss --glob images
# A file whose name does not say what it is
gloss --type markdown notes