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

Executable

import type { Executable } from "https://garn.io/ts/v0.0.20/mod.ts";

Executables are commands (usually shell snippets) that are being run on your local machine (not in a sandbox).

They are based on an underlying Environment, and can make use of e.g. the executables that that Environment provides.

You can use Executables for a variety of purposes:

  • Running your projects main executable during development,
  • Running a code formatter,
  • Running a code generator,
  • Spinning up a database for development,
  • etc.

You can run Executables with garn run.

type Executable = {
tag: "executable";
nixExpression: NixExpression;
description: string;
setDescription: (this: Executable, newDescription: string) => Executable;
}
;

§Type

§
{
tag: "executable";
nixExpression: NixExpression;
description: string;
setDescription: (this: Executable, newDescription: string) => Executable;
}
[src]