Replies: 2 comments 7 replies
-
That's a nice way to share a script, but the import is still a PITA 😅 |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Watch how I publish the script that publishes scripts and their dependencies to Gist... 😄
2023-05-06.00-17-29.mp4
Here's the Gist of it:
https://gist.github.com/BeSpunky/ff5dcb62887cbee686dd6c3ba31cabb5
TLDR
As I go playing with ScriptKit, I started using the
lib
folder to centralize reusable functionality.This made my scripts difficult to share, as they have nested dependencies which I would've had to add manually to my Gists.
Well no more... 💪
This script let's you choose one of your scripts, reads it and recursively extracts
lib
dependencies, then publishes a new gist with the script and the dependencies.Enjoy 😊
Beta Was this translation helpful? Give feedback.
All reactions