diff --git a/src/program/Info.ts b/src/program/Info.ts index 285eabb..173c90e 100644 --- a/src/program/Info.ts +++ b/src/program/Info.ts @@ -6,19 +6,24 @@ import { Program } from './Program' export class Info extends Program { async Exec(_: SimpleStream, stdout: SimpleStream, __: Item, ___: string[]): Promise { - stdout.emit(`binekrasik's Webshell\n`) - stdout.emit(`Copyright (C) 2026 binekrasik.\n\n`) - stdout.emit(`Webshell and its components are licensed under the Apache 2.0 license.\n`) - stdout.emit(`Source available at https://git.martinpetr.dev/binekrasik/webshell.\n\n`) + stdout.emit('\n') + stdout.emit(" --> binekrasik's Webshell / ->\n\n") + + stdout.emit(" Webshell and its components are licensed under the Apache 2.0 license unless stated otherwise.\n") + stdout.emit(" Source available at https://git.martinpetr.dev/binekrasik/webshell.\n\n\n") + + stdout.emit(" --> Versions / ->\n\n") + stdout.emit(` Webshell ${WEBSHELL_VERSION}\n`) + stdout.emit(` Terminal ${Terminal.Version}\n`) + stdout.emit(` Shell '${GetCurrentTerminal().GetShell()?.Name}' version ${GetCurrentTerminal().GetShell()?.Version}\n\n\n`) // print a comment for the current release (if any) - if (INFO_COMMENT) - stdout.emit(`${INFO_COMMENT}\n\n`) + if (INFO_COMMENT) { + stdout.emit(" --> Version comment / ->\n\n") + stdout.emit(` ${INFO_COMMENT}\n\n\n`) + } - stdout.emit(`-> Versions\n`) - stdout.emit(` | Webshell ${WEBSHELL_VERSION}\n`) - stdout.emit(` | Terminal ${Terminal.Version}\n`) - stdout.emit(` | Shell '${GetCurrentTerminal().GetShell()?.Name}' version ${GetCurrentTerminal().GetShell()?.Version}\n\n`) + stdout.emit(" - Copyright (C) 2026 binekrasik -\n\n") return 0 }