Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Command line tool #64

Open
svenhofman opened this issue Jan 2, 2025 · 4 comments
Open

Command line tool #64

svenhofman opened this issue Jan 2, 2025 · 4 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@svenhofman
Copy link

Hi Marvin,

First of all, what a great extension! I was wondering if you have any plans to create a command line tool that implements the functionality currently only provided through the UI. I was thinking of making a Raycast extension to be able to quickly change the application settings, and this would be possible with such a tool. It would also allow for easier automation.

Let me know what you think!

-- Sven

@mhaeuser
Copy link
Owner

mhaeuser commented Jan 2, 2025

I currently have no such plans, as I personally have no use-case for it, but it would not be that hard to do honestly. The daemon exposes an API that a CLI tool can easily connect to, the GUI doesn’t really have any meaningful logic itself. I would need to check whether the GUI has any internal state that could de-sync from external modification of the daemon settings and state, but I think this isn’t the case.

Maybe you are interested in PR’ing such a tool?

@mhaeuser mhaeuser added enhancement New feature or request help wanted Extra attention is needed labels Jan 2, 2025
@svenhofman
Copy link
Author

I might take a shot at it, I'm not familiar with Swift so it will take me some time to figure out

@philocalyst
Copy link

philocalyst commented Jan 22, 2025

I would love to see this! Would be interested in experimenting with you in swift (I don't know it either), so let me know if you want any help @svenhofman

@svenhofman
Copy link
Author

Hi @philocalyst

Thanks for the invitation :) I'm a bit busy at the moment so I won't have time. I also learned that Raycast provides a utility to run Swift code, hence a CLI tool might not be necessary to communicate with the daemon!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants