raycast / extensions

Everything you need to extend Raycast.
https://developers.raycast.com
MIT License
5.34k stars 3.04k forks source link

[Open Path] Use utils from `Open Path` in other extensions? #14564

Closed andrewmartin closed 1 month ago

andrewmartin commented 1 month ago

Extension

https://www.raycast.com/koinzhang/open-path

Description

This is an excellent extension. I was wondering (and this may be possible)––

Can I somehow use the functions in this extension in my extension? I have a custom extension where I'm working with the local filesystem and I'd love to take advantage of the open utils you've created. Just curious if a pattern exists for this that I might've missed.

Who will benefit from this feature?

Other extension developers.

Anything else?

No response

raycastbot commented 1 month ago

Thank you for opening this issue!

🔔 @koinzhang you might want to have a look.

💡 Author and Contributors commands The author and contributors of `koinzhang/open-path` can trigger bot actions by commenting: - `@raycastbot close this issue` Closes the issue. - `@raycastbot close as not planned` Closes the issue as not planned. - `@raycastbot rename this issue to "Awesome new title"` Renames the issue. - `@raycastbot reopen this issue` Reopens the issue. - `@raycastbot assign me` Assigns yourself to the issue. - `@raycastbot good first issue` Adds the "Good first issue" label to the issue. - `@raycastbot keep this issue open` Make sure the issue won't go stale and will be kept open by the bot.
koinzhang commented 1 month ago

Currently the Raycast extension does not support the direct use of functions from another extension. You can copy the function to your extension and use it.

koinzhang commented 1 month ago

@raycastbot close this issue