Executable
import type { Executable } from "https://garn.io/ts/v0.0.14/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;
};