$ ./schemes.sh <path/to/App.app>
$ ./schemes.sh /System/Applications/Notes.app
[
"notes",
"applenotes"
]
This script relies on one external dependency: 'jq', a command line json processor. 'jq' is not installed by default on Mac. You can install it using homebrew.
If you already have homebrew installed, continue to step 4. Otherwise, begin with step 1
$ xcode-select --install
Or alternatively, install Xcode directly from the app store
$ /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
Go to homebrew website's: https://brew.sh Copy the curl command at the top of the page and run it.
$ brew install jq
$ git clone https://github.com/Soliez/schemes && cd schemes
$ chmod a+x schemes.sh