Files
ts-scripts/single-scripts/cal.ts
2026-02-07 23:12:23 +08:00

17 lines
528 B
TypeScript
Executable File

#!/usr/bin/env runts -- --allow-env --allow-run
import {execCommandShell} from "https://script.hatter.ink/@30/deno-commons-mod.ts";
// or: cal -A 1 -B 1
await execCommandShell("cal", [-3]);
// const command = new Deno.Command("cal", {
// args: ["-3"],
// env: {},
// stdin: "inherit",
// stdout: "inherit",
// });
// const _child = command.spawn();
// @SCRIPT-SIGNATURE-V1: yk-r1.ES256.20260207T231131+08:00.MEYCIQDPRdgwrG+NcviKm0XE
// hEk8hY5JITH7jOqtQaNc0uLLDgIhAOCvcvQvWv47CwwOIciXANFNA7FYcMyrDjqq/0fY+827