All apps/fmt

fmt

fmt

Simple text formatter.

Runs as fmt|macOS, Linux, Windows

Command form

ai-draft · 1 task · 5 fields

Reformat paragraphs of text files.

Opens the form; the finished command lands at your prompt, unrun
otty gui fmt
Format textExample values, fixed in this page — nothing here reaches a terminal
Basic
Files
file
Allow indented paragraphs
-p
Collapse whitespace
-s
TasksEach one presets the form for one job
Format
filesindentedsqueeze
ParametersOnly these flags are editable in the form
Files
path · positional 0 · repeatable
Center text
boolean
-c
Allow indented paragraphs
boolean
-p
Collapse whitespace
boolean
-s
Tab stop width
integer
-t
SourcesEvery flag above is checked against these
fig
completion

github.com

Before it fills your prompt, Otty checks the installed fmt against its version. A form that does not match your version is not offered.