firmament-bash
Version:
Firmament module for interpreting commands in JSON files using bash
10 lines (9 loc) • 610 B
TypeScript
import { ForceError, RemoteCatalogEntry } from 'firmament-yargs';
import { ExecutionGraph } from "../custom-typings";
export interface ProcessCommandJson extends ForceError {
processYargsCommand(argv: any): any;
processExecutionGraph(executionGraph: ExecutionGraph, cb: (err: Error, result: any) => void): any;
processExecutionGraphJson(json: string, cb: (err: Error, result: string) => void): any;
processAbsoluteUrl(jsonOrUri: string, cb: (err: Error, result: string) => void): any;
processCatalogEntry(catalogEntry: RemoteCatalogEntry, cb: (err: Error, result: string) => void): void;
}