kasper / phoenix

A lightweight macOS window and app manager scriptable with JavaScript
https://kasper.github.io/phoenix/
Other
4.36k stars 129 forks source link

Run Phoenix functions from the terminal? #331

Open johnlindquist opened 1 year ago

johnlindquist commented 1 year ago

For example, I'd like to create a script from the terminal that runs some of the functions defined in my .phoenix.js.

I'd also love to be able to create scripts that get data from Phoenix (app names, focused, etc)

I looked through the docs, but couldn't find anything. Would this be possible?

kasper commented 1 year ago

Hi @johnlindquist! Great question, this is being discussed in #140. Currently there is no way of doing this, but it’s something that is in my backlog.