rMAPI is a Go app that allows you to access the ReMarkable Cloud API programmatically.
brew install io41/tap/rmapi
ipass is an Apple Keychain CLI.
brew install io41/tap/ipass
If you want the ipass daemon to run at login:
tap homebrew/services
brew services start ipass