All apps/Sublime Text

Sublime Text

sublime-text

A sophisticated text editor for code, markup and prose.

Runs as subl|macOS, Linux, Windows|www.sublimetext.com

Command form

ai-draft · 3 tasks · 9 fields

Open files or folders with subl. Window and focus behaviour are covered; safe mode and version flags are left out.

Opens the form; the finished command lands at your prompt, unrun
otty gui sublime-text
Open in Sublime TextExample values, fixed in this page — nothing here reaches a terminal
Basic
Files or folders*
any
New window
--new-window
TasksEach one presets the form for one job
Open in new window
targetsnew_window
Add folder to window
targetsadd
Open and wait (editor for git)
targetswait
ParametersOnly these flags are editable in the form
Files or folders
path · positional 0 · repeatable
New window
boolean
--new-window-n
Add to current window
boolean
--add-a
Wait until closed
boolean
--wait-w
Do not activate
boolean
--background-b
Stay activated
boolean
--stay-s
Project file
path
--project
Launch or new window
Only open a new window if the application is already open.
boolean
--launch-or-new-window
Command
string
--command
SourcesEvery flag above is checked against these
fig
completion

github.com

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