Files
ts-scripts/single-scripts/server-control.ts
2026-02-05 00:39:12 +08:00

18 lines
809 B
TypeScript
Executable File

#!/usr/bin/env deno-1.6.0 run --allow-all
// Compatible with Deno 1.6.0 (works on CentOS 7)
// https://play.hatter.me/doc/showDocDetail.jssp?id=8879
// https://github.com/denoland/deno/releases/tag/v1.6.0
// https://play.hatter.me/doc/showDocDetail.jssp?id=8881
// https://play.hatter.me/doc/showDocDetail.jssp?id=8882
// deno-1.6.0 run --allow-all server-control.ts ??
// or
// deno-1.6.0 run --allow-all https://global.hatter.ink/script/get/@4/server-control.ts ??
// deno-1.6.0 run --allow-all https://script.hatter.ink/@4/server-control.ts ??
import {log} from "https://global.hatter.ink/script/get/@1/deno-commons-1.6.0-mod.ts";
import {serverControlMain} from "https://global.hatter.ink/script/get/@6/deno-server-control-1.6.0-mod.ts";
serverControlMain(import.meta.url).catch((e) => log.error(e));