feature: Adds user command.

This commit is contained in:
greysoh 2024-05-08 11:22:51 -04:00
parent 2f7f2088cd
commit ee6556adb6
Signed by: imterah
GPG key ID: 8FA7DD57BA6CEA37
7 changed files with 157 additions and 6 deletions

View file

@ -25,7 +25,7 @@ export class SSHCommand extends Command {
this.configureOutput({
writeOut: str => println(str),
writeErr: str => {
if (str.includes("--help") || str.includes("-h")) return;
if (this.hasRecievedExitSignal) return;
println(str);
},
});