Module

x/denon/src/scripts.ts

👀 Monitor any changes in your Deno application and automatically restart.
Very Popular
Latest
import * as mod from "https://dotland.deno.dev/x/denon@2.5.0/src/scripts.ts";

Functions

Build deno flags from ScriptOptions. { allow: [ run, env ]} -> [--allow-run, --allow-env]

Interfaces

Environment variables in a map. { TOKEN: "SECRET!" } -> TOKEN=SECRET

Deno CLI flags in a map. { allow: { "write": "/tmp", "read": "/tmp" }} -> [--allow-write=/tmp, --allow-read=/tmp]

Most complete representation of a script. Can be configured in details as it extends ScriptOptions and can also contain a desc that is displayed along script name whendenon is run without any arguments .

Additional script options.

Map of declared scripts, Used by Runner.

Type Aliases

A runnable script. Can be as simple as a string:

A collection of runnable scripts. See Script