open
cmd/open
Open files or directories with associated apps
Quick Start
open <path> [--app=<id>]
At A Glance
Usage
open <path> [--app=<id>]
Subcommands
No subcommands.
Flags
| Flag | Type | Description |
|---|---|---|
-app |
string |
Force app id instead of extension-based matching |
Exit Codes
| Code | Meaning |
|---|---|
0 |
Success |
1 |
Runtime/command error |
2 |
Invalid flags/usage |