All apps/fold

fold

fold

Wrap long lines of input to a finite width.

Runs as fold|macOS, Linux, Windows

Command form

ai-draft · 2 tasks · 4 fields

Wrap lines of one or more files to a given width.

Opens the form; the finished command lands at your prompt, unrun
otty gui fold
Fold long linesExample values, fixed in this page — nothing here reaches a terminal
Basic
Line width
integer
Break at spaces
-s
Files*
file
TasksEach one presets the form for one job
Fold at word boundaries
widthspacesfiles
Fold to width
widthfiles
ParametersOnly these flags are editable in the form
Line width
Columns per line; default 80.
integer
-w
Break at spaces
Fold after the last blank within the width.
boolean
-s
Count bytes
Count width in bytes instead of columns.
boolean
-b
Files
path · positional 0 · repeatable
SourcesEvery flag above is checked against these
fig
completion

github.com

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