update cal.ts
This commit is contained in:
@@ -27,12 +27,12 @@
|
||||
},
|
||||
"cal.ts": {
|
||||
"script_name": "cal.ts",
|
||||
"script_length": 385,
|
||||
"script_sha256": "36b3a573c37736bdbbbeb853d0eb89027bd48d96813e9ce9871aa1cdb0aa6d53",
|
||||
"script_length": 528,
|
||||
"script_sha256": "f00e99e88e457867b155e11fc55a352dc57287e9b49aecb497a52cf83355138d",
|
||||
"script_full_url": "https://git.hatter.ink/hatter/ts-scripts/raw/branch/main/single-scripts/cal.ts",
|
||||
"single_script_file": true,
|
||||
"publish_time": 1737306227061,
|
||||
"update_time": 1737650670435
|
||||
"update_time": 1770477138166
|
||||
},
|
||||
"cmd.ts": {
|
||||
"script_name": "cmd.ts",
|
||||
|
||||
@@ -1,13 +1,16 @@
|
||||
#!/usr/bin/env runts -- --allow-env --allow-run
|
||||
|
||||
// or: cal -A 1 -B 1
|
||||
const command = new Deno.Command("cal", {
|
||||
args: ["-3"],
|
||||
env: {},
|
||||
stdin: "inherit",
|
||||
stdout: "inherit",
|
||||
});
|
||||
const _child = command.spawn();
|
||||
import {execCommandShell} from "https://script.hatter.ink/@30/deno-commons-mod.ts";
|
||||
|
||||
// @SCRIPT-SIGNATURE-V1: yk-r1.ES256.20250124T003842+08:00.MEYCIQDOIAYDYaui9kWbw0nG
|
||||
// cpUgj1LiAFgH0Jjf76GVNmX4vwIhAL6kz1piBA7i1SBB9tEQrJ1wrtTCJg7kqkbeYtKoKUMK
|
||||
// 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
|
||||
|
||||
Reference in New Issue
Block a user