Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
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;