mirror of
https://github.com/ivabus/pantry
synced 2024-09-20 16:50:50 +03:00
24 lines
420 B
TypeScript
24 lines
420 B
TypeScript
|
#!/usr/bin/env -S tea -E
|
||
|
|
||
|
/*
|
||
|
---
|
||
|
args:
|
||
|
- deno
|
||
|
- run
|
||
|
- --allow-net
|
||
|
- --allow-read=/opt
|
||
|
- --allow-write=/opt
|
||
|
- --allow-run # uses `/bin/ln`
|
||
|
- --import-map={{ srcroot }}/import-map.json
|
||
|
---
|
||
|
*/
|
||
|
|
||
|
import repairLinks from "prefab/repair-links.ts"
|
||
|
import { print } from "utils"
|
||
|
|
||
|
print("this because otherwise console.verbose is not defined lol")
|
||
|
|
||
|
for (const project of Deno.args) {
|
||
|
await repairLinks(project)
|
||
|
}
|