mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-08-19 08:01:25 +00:00
adf991cd2d
* Basic folder support * Proper Folder Support + deps.ts * Upgrade Versions * Add folder meta to tarball * Remove tarball folders * Minor fixes * Fix typo * Remove extra_perms check * Use new endpoint * Use new untar location * Fix shrinking files
13 lines
382 B
TypeScript
13 lines
382 B
TypeScript
import wmill from "https://deno.land/x/wmill@v1.55.0/main.ts";
|
|
|
|
export async function main() {
|
|
await run(
|
|
"workspace", "add", "__automation", "starter", Deno.env.get("WM_BASE_URL") + "/", "--token", Deno.env.get("WM_TOKEN"));
|
|
|
|
await run("hub", "pull");
|
|
}
|
|
|
|
async function run(...cmd: string[]) {
|
|
console.log("Running \"" + cmd.join(' ') + "\"");
|
|
await wmill.parse(cmd);
|
|
} |