feat: add cal.ts
This commit is contained in:
@@ -7,6 +7,15 @@
|
|||||||
"publish_time": 1737272626138,
|
"publish_time": 1737272626138,
|
||||||
"update_time": 1737272626138
|
"update_time": 1737272626138
|
||||||
},
|
},
|
||||||
|
"cal.ts": {
|
||||||
|
"script_name": "cal.ts",
|
||||||
|
"script_length": 206,
|
||||||
|
"script_sha256": "537bea6f49e4041d153fc80f79cf9abc0742f367f063f46bf9350ea33616ce6a",
|
||||||
|
"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": 1737306227061
|
||||||
|
},
|
||||||
"helloworld.ts": {
|
"helloworld.ts": {
|
||||||
"script_name": "helloworld.ts",
|
"script_name": "helloworld.ts",
|
||||||
"script_length": 69,
|
"script_length": 69,
|
||||||
|
|||||||
9
single-scripts/cal.ts
Executable file
9
single-scripts/cal.ts
Executable file
@@ -0,0 +1,9 @@
|
|||||||
|
#!/usr/bin/env -S deno run --allow-env --allow-run
|
||||||
|
|
||||||
|
const command = new Deno.Command("cal", {
|
||||||
|
args: ["-3"],
|
||||||
|
env: {},
|
||||||
|
stdin: "inherit",
|
||||||
|
stdout: "inherit",
|
||||||
|
});
|
||||||
|
const _child = command.spawn();
|
||||||
Reference in New Issue
Block a user