Updated output config get
This commit is contained in:
parent
cf4b150140
commit
dcadf29e7f
10
client.js
10
client.js
@ -458,15 +458,15 @@ program
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (type === "token" || type === "jwt") {
|
if (type === "token" || type === "jwt") {
|
||||||
console.log(`token: ${config.token}`);
|
console.log(config.token);
|
||||||
} else if (type === "server") {
|
} else if (type === "server") {
|
||||||
console.log(`server: ${config.server}`);
|
console.log(config.server);
|
||||||
} else if (type === "clientId" || type === "client") {
|
} else if (type === "clientId" || type === "client") {
|
||||||
console.log(`client: ${config.clientId}`);
|
console.log(config.clientId);
|
||||||
} else if (type === "apiKey" || type === "key") {
|
} else if (type === "apiKey" || type === "key") {
|
||||||
console.log(`key: ${config.apiKey}`);
|
console.log(config.apiKey);
|
||||||
} else if (type === "access") {
|
} else if (type === "access") {
|
||||||
console.log(`access: ${config.access}`);
|
console.log(config.access);
|
||||||
} else {
|
} else {
|
||||||
console.log('no config found for type: "' + type + '"');
|
console.log('no config found for type: "' + type + '"');
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user