feat: udpate cal.ts

This commit is contained in:
2025-01-20 01:05:20 +08:00
parent b1582bdca2
commit 89c81b75c4
2 changed files with 4 additions and 3 deletions

View File

@@ -9,12 +9,12 @@
}, },
"cal.ts": { "cal.ts": {
"script_name": "cal.ts", "script_name": "cal.ts",
"script_length": 206, "script_length": 227,
"script_sha256": "537bea6f49e4041d153fc80f79cf9abc0742f367f063f46bf9350ea33616ce6a", "script_sha256": "cf235682700ea5769f4e236229e0955e9259400316d5bf1d1bfe79664df98ad5",
"script_full_url": "https://git.hatter.ink/hatter/ts-scripts/raw/branch/main/single-scripts/cal.ts", "script_full_url": "https://git.hatter.ink/hatter/ts-scripts/raw/branch/main/single-scripts/cal.ts",
"single_script_file": true, "single_script_file": true,
"publish_time": 1737306227061, "publish_time": 1737306227061,
"update_time": 1737306227061 "update_time": 1737306304720
}, },
"helloworld.ts": { "helloworld.ts": {
"script_name": "helloworld.ts", "script_name": "helloworld.ts",

View File

@@ -1,5 +1,6 @@
#!/usr/bin/env -S deno run --allow-env --allow-run #!/usr/bin/env -S deno run --allow-env --allow-run
// or: cal -A 1 -B 1
const command = new Deno.Command("cal", { const command = new Deno.Command("cal", {
args: ["-3"], args: ["-3"],
env: {}, env: {},