https://github.com/noahkamara/urigami
command-line utility for managing default applications on macOS
https://github.com/noahkamara/urigami
macos
Last synced: 2 months ago
JSON representation
command-line utility for managing default applications on macOS
- Host: GitHub
- URL: https://github.com/noahkamara/urigami
- Owner: NoahKamara
- License: mit
- Created: 2025-01-26T20:14:29.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-01-31T18:39:56.000Z (over 1 year ago)
- Last Synced: 2025-04-01T13:23:24.593Z (over 1 year ago)
- Topics: macos
- Language: Swift
- Homepage: https://github.com/NoahKamara/Urigami
- Size: 43 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Urigami
Urigami is a command-line utility for managing default applications on macOS. It allows you to get information about installed applications, find default apps for specific file types or URIs, and set default applications.
## Installation
### Homebrew
```bash
brew install noahkamara/homebrew-tap/urigami
```
### Build
```bash
./build.sh # the executable will be at ./urigami
```
## Usage
Urigami provides several subcommands:
```bash
urigami
```
### Subcommands
1. `opens`: Find the default app(s) for a given input
2. `appinfo`: Get information about an installed application
3. `setdefault`: Set the default app for a given input
## Examples
Show metadata for Preview.app including
```bash
urigami appinfo Preview --uti
```
Show applications that can open .png files
```bash
urigami opens .png
```
Open pdf files in Arc by default
```bash
urigami setdefault .pdf Arc
```
## Contributing
Contributions welcome!