LocalCommandContext constructor
LocalCommandContext({
- required ClientRuntime client,
- required NodeDescriptor node,
- required DateTime startedAt,
- required void writeLine(
- String line
- Principal? principal,
- RemoteSession? session,
- Clock clock = const SystemClock(),
- Future<
String> readLine(- String prompt
- String? currentRemoteCwd()?,
- void printAbove(
- String line
Creates a command context.
Implementation
LocalCommandContext({
required this.client,
required this.node,
required this.startedAt,
required this.writeLine,
this.principal,
this.session,
this.clock = const SystemClock(),
this.readLine,
this.currentRemoteCwd,
this.printAbove,
});