Skip to content
Français

HookCommand

import type { HookCommand } from "@elie-laloum/outpost/core";
  • executableRequired
    string
    Program to execute inside the sandbox, without implicit shell expansion.
  • argumentsOptional
    readonly string[] | undefined
    Literal program arguments.
  • directoryOptional
    string | undefined
    Working directory in the sandbox; defaults to the invoking context.
  • variablesOptional
    Readonly<Record<string, string>> | undefined
    Explicit environment variables for the hook command.
export interface HookCommand {
  readonly executable: string;
  readonly arguments?: readonly string[];
  readonly directory?: string;
  readonly variables?: Variables;
}