Revert "PIPE: Add pipe support for passing data into and out of terminal commands (#2395)" (#2524)

This reverts commit 92b8b58588.

Accidental merge on my part - the code is in decent shape, but isn't meant to go in for 3.0.
This commit is contained in:
David Walker
2026-02-22 11:28:10 -08:00
committed by GitHub
parent 92b8b58588
commit 8f4313b180
68 changed files with 479 additions and 2429 deletions
+2 -3
View File
@@ -1,7 +1,6 @@
import type { CompletedProgramName } from "@enums";
import { ProgramFilePath, asProgramFilePath } from "../Paths/ProgramFilePath";
import { BaseServer } from "../Server/BaseServer";
import type { StdIO } from "../Terminal/StdIO/StdIO";
export interface IProgramCreate {
level: number;
@@ -12,14 +11,14 @@ export interface IProgramCreate {
interface ProgramConstructorParams {
name: CompletedProgramName;
create: IProgramCreate | null;
run: (args: string[], server: BaseServer, stdIO: StdIO) => void;
run: (args: string[], server: BaseServer) => void;
nsMethod?: string;
}
export class Program {
name: ProgramFilePath & CompletedProgramName;
create: IProgramCreate | null;
run: (args: string[], server: BaseServer, stdIO: StdIO) => void;
run: (args: string[], server: BaseServer) => void;
nsMethod?: string;
constructor({ name, create, run, nsMethod }: ProgramConstructorParams) {