@jacebenson/jsn 4.2.0 → 4.2.2
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/package.json +1 -1
- package/src/app.js +5 -5
package/package.json
CHANGED
package/src/app.js
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
|
|
10
10
|
import { AuthManager } from './auth.js';
|
|
11
11
|
import { SDKClient } from './sdk.js';
|
|
12
|
-
import { OutputWriter, FormatAuto, FormatJSON, FormatMarkdown, FormatQuiet, FormatStyled } from './output.js';
|
|
12
|
+
import { OutputWriter, FormatAuto, FormatJSON, FormatMarkdown, FormatQuiet, FormatStyled, hyperlink } from './output.js';
|
|
13
13
|
import { saveConfig } from './config.js';
|
|
14
14
|
import { resolveSession, applySession, contextFromSession, requireSessionInstance } from './session.js';
|
|
15
15
|
import { getCurrentUser, getCurrentApplication, getCurrentUpdateSet } from './context.js';
|
|
@@ -131,10 +131,10 @@ export class App {
|
|
|
131
131
|
process.stderr.write('# Use `jsn scopes` to change scope, `jsn updatesets set` to change updateset\n');
|
|
132
132
|
process.stderr.write('PROFILE USER [SCOPE] UPDATE SET\n');
|
|
133
133
|
|
|
134
|
-
const profileStr =
|
|
135
|
-
const userStr =
|
|
136
|
-
const scopeStr =
|
|
137
|
-
const updateSetStr =
|
|
134
|
+
const profileStr = `${hyperlink(String(this.context.profileName).padEnd(9), instanceLink)}${roBadge}`;
|
|
135
|
+
const userStr = hyperlink(String(displayUserName).padEnd(9), userLink);
|
|
136
|
+
const scopeStr = hyperlink(String(scopeFormatted).padEnd(17), scopeLink);
|
|
137
|
+
const updateSetStr = hyperlink(String(updateSet), updateSetLink);
|
|
138
138
|
|
|
139
139
|
process.stderr.write(`${profileStr} ${userStr} ${scopeStr} ${updateSetStr}\n\n`);
|
|
140
140
|
|