Skip to content

Commit

Permalink
Merge pull request actions#90 from akamai/feature/WEEPKRK-956
Browse files Browse the repository at this point in the history
show command - small output changes
  • Loading branch information
herzykj committed Apr 2, 2021
2 parents ae85e20 + 02fcf70 commit 8ee8654
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/cli-main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -146,19 +146,19 @@ function jwtExpirationDateString(jwtToken) {
async function showSandboxOverview(sandboxId: string) {
const localSandbox = sandboxClientManager.getSandboxLocalData(sandboxId);
if (localSandbox) {
cliUtils.logWithBorder('Local sandbox information:');
cliUtils.logWithBorder('Local sandbox information');
console.log('sandbox-id: ' + sandboxId);
console.log('local directory: ' + localSandbox.sandboxFolder);
console.log(`JWT expiration: ${jwtExpirationDateString(localSandbox.jwt)}`);
console.log(`current: ${localSandbox.isCurrent}\n`);
console.log(`default: ${localSandbox.isCurrent}\n`);
}
const sandbox = await cliUtils.spinner(sandboxSvc.getSandbox(sandboxId));

cliUtils.logWithBorder('Detailed information for the sandbox:');
cliUtils.logWithBorder('Detailed information for the sandbox');

console.log(`name: ${sandbox.name}`);
console.log(`created by: ${sandbox.createdBy}`);
console.log(`is clonable: ${sandbox.isClonable}`);
console.log(`cloneable: ${sandbox.isClonable}`);
console.log(`status: ${sandbox.status}\n`);

cliUtils.logWithBorder('Sandbox Properties');
Expand Down

0 comments on commit 8ee8654

Please sign in to comment.