All apps/open

open

open

Opens files, folders, apps or URLs with the default application on macOS.

Runs as open|macOS

Command form

ai-draft · 3 tasks · 8 fields

Open files, folders or URLs, optionally with a chosen app.

Opens the form; the finished command lands at your prompt, unrun
otty gui open
Open with applicationExample values, fixed in this page — nothing here reaches a terminal
Basic
Files or URLs*
any
TasksEach one presets the form for one job
Open with default app
targets
Open with a chosen app
targetsapp
Reveal in Finder
targetsreveal
ParametersOnly these flags are editable in the form
Files or URLs
path · positional 0 · repeatable
Application
string
-a
Reveal in Finder
boolean
-R
Open in TextEdit
boolean
-e
New instance
boolean
-n
Wait until app exits
boolean
-W
Do not bring to foreground
boolean
-g
Launch hidden
boolean
-j
SourcesEvery flag above is checked against these
fig
completion

github.com

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