command-line utility for managing default applications on macOS
https://github.com/NoahKamara/Urigami
- Swift 97.3%
- Shell 2.7%
| .github/workflows | ||
| Sources | ||
| .gitignore | ||
| .swiftformat | ||
| build.sh | ||
| LICENSE | ||
| Package.resolved | ||
| Package.swift | ||
| README.md | ||
| release.sh | ||
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
brew install noahkamara/homebrew-tap/urigami
Build
./build.sh # the executable will be at ./urigami
Usage
Urigami provides several subcommands:
urigami <subcommand>
Subcommands
opens: Find the default app(s) for a given inputappinfo: Get information about an installed applicationsetdefault: Set the default app for a given input
Examples
Show metadata for Preview.app including
urigami appinfo Preview --uti
Show applications that can open .png files
urigami opens .png
Open pdf files in Arc by default
urigami setdefault .pdf Arc
Contributing
Contributions welcome!