Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Script

import type { Script } from "https://googleapis.deno.dev/v1/batch:v1.ts";

Script runnable.

interface Script {
path?: string;
text?: string;
}

§Properties

§
path?: string
[src]

Script file path on the host VM. To specify an interpreter, please add a #!(also known as shebang line) as the first line of the file.(For example, to execute the script using bash, #!/bin/bash should be the first line of the file. To execute the script usingPython3, #!/usr/bin/env python3 should be the first line of the file.) Otherwise, the file will by default be executed by /bin/sh.

§
text?: string
[src]

Shell script text. To specify an interpreter, please add a #!\n at the beginning of the text.(For example, to execute the script using bash, #!/bin/bash\n should be added. To execute the script usingPython3, #!/usr/bin/env python3\n should be added.) Otherwise, the script will by default be executed by /bin/sh.