@robinmordasiewicz/f5xc-xcsh 1.0.82-2601010623 → 1.0.82-2601011613
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +8 -4
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -45392,8 +45392,8 @@ function getLogoModeFromEnv(envPrefix) {
|
|
|
45392
45392
|
var CLI_NAME = "xcsh";
|
|
45393
45393
|
var CLI_FULL_NAME = "F5 Distributed Cloud Shell";
|
|
45394
45394
|
function getVersion() {
|
|
45395
|
-
if ("v1.0.82-
|
|
45396
|
-
return "v1.0.82-
|
|
45395
|
+
if ("v1.0.82-2601011613") {
|
|
45396
|
+
return "v1.0.82-2601011613";
|
|
45397
45397
|
}
|
|
45398
45398
|
if (process.env.XCSH_VERSION) {
|
|
45399
45399
|
return process.env.XCSH_VERSION;
|
|
@@ -45454,6 +45454,9 @@ function colorRed(text) {
|
|
|
45454
45454
|
function colorBoldWhite(text) {
|
|
45455
45455
|
return `${colors.boldWhite}${text}${colors.reset}`;
|
|
45456
45456
|
}
|
|
45457
|
+
function colorBlue(text) {
|
|
45458
|
+
return `${colors.blue}${text}${colors.reset}`;
|
|
45459
|
+
}
|
|
45457
45460
|
function colorDim(text) {
|
|
45458
45461
|
return `${colors.dim}${text}${colors.reset}`;
|
|
45459
45462
|
}
|
|
@@ -48290,7 +48293,7 @@ var REPLSession = class {
|
|
|
48290
48293
|
|
|
48291
48294
|
// src/repl/prompt.ts
|
|
48292
48295
|
function buildPlainPrompt(_session) {
|
|
48293
|
-
return
|
|
48296
|
+
return `${CLI_NAME}> `;
|
|
48294
48297
|
}
|
|
48295
48298
|
|
|
48296
48299
|
// src/repl/App.tsx
|
|
@@ -53490,7 +53493,8 @@ function App2({ initialSession } = {}) {
|
|
|
53490
53493
|
async (cmd) => {
|
|
53491
53494
|
const trimmed = cmd.trim();
|
|
53492
53495
|
if (!trimmed) return;
|
|
53493
|
-
|
|
53496
|
+
const scrollbackCommand = `${colorBlue("\u23FA")} ${colorBoldWhite(prompt + trimmed)}`;
|
|
53497
|
+
addOutput(scrollbackCommand);
|
|
53494
53498
|
const result = await executeCommand(trimmed, session);
|
|
53495
53499
|
if (result.rawStdout) {
|
|
53496
53500
|
setHideStatusBar(true);
|