Skip to main content
Module

x/velociraptor/src/command.ts

The npm-style script runner for Deno
Latest
File
import { ScriptObject } from "./scripts_config.ts";
export interface Command extends ScriptObject { cmd: string;}
export interface ParallelCommands { pll: Array<Command | ParallelCommands>;}
export type CompoundCommandItem = Command | ParallelCommands | null;
export const isParallel = (command: object): command is ParallelCommands => "pll" in command;