Skip to content

Instantly share code, notes, and snippets.

@jraleigh
Created April 17, 2023 22:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jraleigh/36ded54e5235f25947f38d987da0259b to your computer and use it in GitHub Desktop.
Save jraleigh/36ded54e5235f25947f38d987da0259b to your computer and use it in GitHub Desktop.
/*
# Update to the Latest Script Kit Examples
- cd's to the examples directory
- pulls the latest examples from the script kit repo
- goes back to the main menu
*/
// Name: Update Examples
// Description: Update to the Latest Script Kit Examples
import "@johnlindquist/kit"
let examplesDir = kenvPath("kenvs", "examples")
cd(examplesDir)
await $`git stash`
await $`git pull`
await mainScript()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment