Class TerminalCommand
Implements
- TerminalCommand
Index
Constructors
Properties
Accessors
Constructors
constructor
- new TerminalCommand(
__namedParameters: {
command: string;
description: string;
kernel: Kernel;
options: OptionDefinition[];
run: (
argv: CommandLineOptions,
process?: Process,
) => Promise<number | void>;
shell: Shell;
stderr?: WritableStream<Uint8Array>;
stdin?: ReadableStream<Uint8Array>;
stdout?: WritableStream<Uint8Array>;
terminal: Terminal;
},
): TerminalCommand Parameters
- __namedParameters: {
command: string;
description: string;
kernel: Kernel;
options: OptionDefinition[];
run: (
argv: CommandLineOptions,
process?: Process,
) => Promise<number | void>;
shell: Shell;
stderr?: WritableStream<Uint8Array>;
stdin?: ReadableStream<Uint8Array>;
stdout?: WritableStream<Uint8Array>;
terminal: Terminal;
}
Returns TerminalCommand
- __namedParameters: {
The TerminalCommand class sets up a common interface for builtin terminal commands