impel-cli 0.18.5 → 0.18.6
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/commands/auth.js +4 -1
- package/src/commands/setup.js +1 -1
- package/src/commands/status.js +1 -1
package/package.json
CHANGED
package/src/commands/auth.js
CHANGED
|
@@ -81,7 +81,10 @@ export async function cmdAuth(argv) {
|
|
|
81
81
|
console.log(` gateway: ${gatewayUrl}`);
|
|
82
82
|
console.log(` app: ${appUrl}`);
|
|
83
83
|
console.log(` pat: ${maskSecret(pat)}`);
|
|
84
|
-
|
|
84
|
+
const missingTenantGuidance = RUNTIME_BRAND.tenant.defaultId
|
|
85
|
+
? `not selected — run \`${RUNTIME_BRAND.cli.command} setup\``
|
|
86
|
+
: "not selected — run `impel tenant list`";
|
|
87
|
+
console.log(` tenant: ${config.tenantId || missingTenantGuidance}`);
|
|
85
88
|
if (config.productAccess) console.log(` access: ${config.productAccess}`);
|
|
86
89
|
console.log("");
|
|
87
90
|
const setupAction = process.platform === "darwin"
|
package/src/commands/setup.js
CHANGED
|
@@ -475,7 +475,7 @@ export async function cmdSetup(argv, overrides = {}) {
|
|
|
475
475
|
|
|
476
476
|
printReconciliationSummary(report);
|
|
477
477
|
console.log(`CLI tenant: ${selected.id}`);
|
|
478
|
-
console.log("Change it: impel tenant use <tenant>");
|
|
478
|
+
if (!RUNTIME_BRAND.tenant.defaultId) console.log("Change it: impel tenant use <tenant>");
|
|
479
479
|
console.log("Launch: impel claude | impel codex");
|
|
480
480
|
if (!report.passed || sharedFailure) {
|
|
481
481
|
if (sharedFailure) console.error(`Shared setup failure: ${sharedFailure}`);
|
package/src/commands/status.js
CHANGED
|
@@ -112,7 +112,7 @@ export async function cmdStatus(overrides = {}) {
|
|
|
112
112
|
}
|
|
113
113
|
|
|
114
114
|
console.log(`Current CLI tenant: ${selected.tenantId}`);
|
|
115
|
-
console.log("Change it with: impel tenant use <tenant>");
|
|
115
|
+
if (!RUNTIME_BRAND.tenant.defaultId) console.log("Change it with: impel tenant use <tenant>");
|
|
116
116
|
const scopes = new Set(selected.scopes || []);
|
|
117
117
|
const scopeKnown = selected.scopes != null;
|
|
118
118
|
const binaries = {
|