- Translate into Swift 5.
- Fix extracting the ID of input source.
- Use
kTISPropertyInputSourceID
intead ofkTISPropertyBundleID
.
- Use
- Add
--name
option forlist
command to present the name of input source.
- Implement basic features:
- List available input sources.
- Get the current input sources.
- Switch to the input source specified with the given identifier.