Skip to content
This repository has been archived by the owner on Apr 13, 2022. It is now read-only.

Commit

Permalink
fix: update cli-ux tables
Browse files Browse the repository at this point in the history
Merge tag 'v1.6.3'

# Conflicts:
#	README.md
  • Loading branch information
RodEsp committed Jun 22, 2021
2 parents 5d93ae3 + ce781be commit 44b1158
Show file tree
Hide file tree
Showing 4 changed files with 52 additions and 59 deletions.
98 changes: 44 additions & 54 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,130 +2,120 @@

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.

### [1.6.2](https://github.com/salesforcecli/cli-taxonomy-experiment/compare/v1.6.1...v1.6.2) (2021-06-22)
### [1.6.3](https://github.com/salesforcecli/cli-taxonomy-experiment/compare/v1.6.2...v1.6.3) (2021-06-22)

### Bug Fixes

- don't ship oclif.manifest.json with package ([d0af8c9](https://github.com/salesforcecli/cli-taxonomy-experiment/commit/d0af8c9521eb82a0f29bd6c5bb9739df080cf080))

### [1.6.2](https://github.com/salesforcecli/cli-taxonomy-experiment/compare/v1.6.1...v1.6.2) (2021-06-22)

### Bug Fixes

* add a few more topic descriptions to package.json ([27864bf](https://github.com/salesforcecli/cli-taxonomy-experiment/commit/27864bfceed1cd752c08c8240cfa32bd9e06124e))
- add a few more topic descriptions to package.json ([27864bf](https://github.com/salesforcecli/cli-taxonomy-experiment/commit/27864bfceed1cd752c08c8240cfa32bd9e06124e))

### [1.6.1](https://github.com/salesforcecli/cli-taxonomy-experiment/compare/v1.6.0...v1.6.1) (2021-06-22)


### Bug Fixes

* ensure top level commands have descriptions ([1da332f](https://github.com/salesforcecli/cli-taxonomy-experiment/commit/1da332f3afa94960559893a191318dcb6d4e4f17))
- ensure top level commands have descriptions ([1da332f](https://github.com/salesforcecli/cli-taxonomy-experiment/commit/1da332f3afa94960559893a191318dcb6d4e4f17))

## [1.6.0](https://github.com/salesforcecli/cli-taxonomy-experiment/compare/v1.5.1...v1.6.0) (2021-06-22)


### Features

* hook up help for run and test commands ([1d23842](https://github.com/salesforcecli/cli-taxonomy-experiment/commit/1d23842e4d0e88ec9354b72fa96d3cdb5f1a3a6b))
* hook up help md to env commands ([0fec437](https://github.com/salesforcecli/cli-taxonomy-experiment/commit/0fec437fcb358270a601cdefb9c3e46b1ebcd488))
* hook up help to login and logout commands ([bd3f1e2](https://github.com/salesforcecli/cli-taxonomy-experiment/commit/bd3f1e279a84e95a63ede3f2414a37c25533f9da))
* hookup help for usage and whoami commands ([d94c2b0](https://github.com/salesforcecli/cli-taxonomy-experiment/commit/d94c2b0dfe2fc2003097deeaa87eb17b1b794f2f))
* hookup help md to generate commands ([4299e1f](https://github.com/salesforcecli/cli-taxonomy-experiment/commit/4299e1fb6604e8841cd1efa9d6395cd8666cca3c))
* tie help messages to command for config ([0fbcdb2](https://github.com/salesforcecli/cli-taxonomy-experiment/commit/0fbcdb257b0e05deb23f660a2f72142b694f7b8d))

- hook up help for run and test commands ([1d23842](https://github.com/salesforcecli/cli-taxonomy-experiment/commit/1d23842e4d0e88ec9354b72fa96d3cdb5f1a3a6b))
- hook up help md to env commands ([0fec437](https://github.com/salesforcecli/cli-taxonomy-experiment/commit/0fec437fcb358270a601cdefb9c3e46b1ebcd488))
- hook up help to login and logout commands ([bd3f1e2](https://github.com/salesforcecli/cli-taxonomy-experiment/commit/bd3f1e279a84e95a63ede3f2414a37c25533f9da))
- hookup help for usage and whoami commands ([d94c2b0](https://github.com/salesforcecli/cli-taxonomy-experiment/commit/d94c2b0dfe2fc2003097deeaa87eb17b1b794f2f))
- hookup help md to generate commands ([4299e1f](https://github.com/salesforcecli/cli-taxonomy-experiment/commit/4299e1fb6604e8841cd1efa9d6395cd8666cca3c))
- tie help messages to command for config ([0fbcdb2](https://github.com/salesforcecli/cli-taxonomy-experiment/commit/0fbcdb257b0e05deb23f660a2f72142b694f7b8d))

### Bug Fixes

* add project retrieve ([f40a27e](https://github.com/salesforcecli/cli-taxonomy-experiment/commit/f40a27e1955d2808fb53646f816dd36c06da7f92))
* put retrieve under project topic ([4d5d3e3](https://github.com/salesforcecli/cli-taxonomy-experiment/commit/4d5d3e3fcdda36861478e1b30a71e113169df5b1))
- add project retrieve ([f40a27e](https://github.com/salesforcecli/cli-taxonomy-experiment/commit/f40a27e1955d2808fb53646f816dd36c06da7f92))
- put retrieve under project topic ([4d5d3e3](https://github.com/salesforcecli/cli-taxonomy-experiment/commit/4d5d3e3fcdda36861478e1b30a71e113169df5b1))

### [1.5.1](https://github.com/salesforcecli/cli-taxonomy-experiment/compare/v1.5.0...v1.5.1) (2021-06-21)

## [1.5.0](https://github.com/salesforcecli/cli-taxonomy-experiment/compare/v1.4.2...v1.5.0) (2021-06-21)


### Features

* update help example ([f6e49c8](https://github.com/salesforcecli/cli-taxonomy-experiment/commit/f6e49c8e76816ec6f341a98d9ff90e21510bbc58))
* update to latest commands for tdx demo ([051bdc4](https://github.com/salesforcecli/cli-taxonomy-experiment/commit/051bdc4a8901bc1db998eab6f4538bad552bb9e7))
* update to md help ([c33ec9d](https://github.com/salesforcecli/cli-taxonomy-experiment/commit/c33ec9d73133f65f2dab31ee7855009bf918f602))

- update help example ([f6e49c8](https://github.com/salesforcecli/cli-taxonomy-experiment/commit/f6e49c8e76816ec6f341a98d9ff90e21510bbc58))
- update to latest commands for tdx demo ([051bdc4](https://github.com/salesforcecli/cli-taxonomy-experiment/commit/051bdc4a8901bc1db998eab6f4538bad552bb9e7))
- update to md help ([c33ec9d](https://github.com/salesforcecli/cli-taxonomy-experiment/commit/c33ec9d73133f65f2dab31ee7855009bf918f602))

### Bug Fixes

* use only SfCommand ([4beef40](https://github.com/salesforcecli/cli-taxonomy-experiment/commit/4beef400e330caa88b56cd24718cb7d56ed31cc2))
- use only SfCommand ([4beef40](https://github.com/salesforcecli/cli-taxonomy-experiment/commit/4beef400e330caa88b56cd24718cb7d56ed31cc2))

### [1.4.2](https://github.com/salesforcecli/cli-taxonomy-experiment/compare/v1.4.1...v1.4.2) (2021-06-04)


### Bug Fixes

* show error if no accounts are authorized ([4334409](https://github.com/salesforcecli/cli-taxonomy-experiment/commit/43344093a77966586bae7c50032122a916173f68))
- show error if no accounts are authorized ([4334409](https://github.com/salesforcecli/cli-taxonomy-experiment/commit/43344093a77966586bae7c50032122a916173f68))

### [1.4.1](https://github.com/salesforcecli/cli-taxonomy-experiment/compare/v1.4.0...v1.4.1) (2021-05-24)


### Bug Fixes

* update columns on env list ([9582ecb](https://github.com/salesforcecli/cli-taxonomy-experiment/commit/9582ecbe367c3b20348a93e5f5dfc348baf48d0f))
- update columns on env list ([9582ecb](https://github.com/salesforcecli/cli-taxonomy-experiment/commit/9582ecbe367c3b20348a93e5f5dfc348baf48d0f))

## [1.4.0](https://github.com/salesforcecli/cli-taxonomy-experiment/compare/v1.3.1...v1.4.0) (2021-05-21)


### Features

* mock functions commands ([720d452](https://github.com/salesforcecli/cli-taxonomy-experiment/commit/720d45236c1ad580d9bee6316120ef0b49ffe02c))
* update login and add project deploy org ([663b148](https://github.com/salesforcecli/cli-taxonomy-experiment/commit/663b1483f958a639150eea0c95a312de89a719d9))
* update login cmd ([f996201](https://github.com/salesforcecli/cli-taxonomy-experiment/commit/f996201b565404f6ff65eaaa7d0c5dc5b14e85f8))
* updates for demo script ([55f488f](https://github.com/salesforcecli/cli-taxonomy-experiment/commit/55f488f2531c3f59a9492446126e53e091e672db))

- mock functions commands ([720d452](https://github.com/salesforcecli/cli-taxonomy-experiment/commit/720d45236c1ad580d9bee6316120ef0b49ffe02c))
- update login and add project deploy org ([663b148](https://github.com/salesforcecli/cli-taxonomy-experiment/commit/663b1483f958a639150eea0c95a312de89a719d9))
- update login cmd ([f996201](https://github.com/salesforcecli/cli-taxonomy-experiment/commit/f996201b565404f6ff65eaaa7d0c5dc5b14e85f8))
- updates for demo script ([55f488f](https://github.com/salesforcecli/cli-taxonomy-experiment/commit/55f488f2531c3f59a9492446126e53e091e672db))

### Bug Fixes

* split env list table ([859d538](https://github.com/salesforcecli/cli-taxonomy-experiment/commit/859d5382a7fea9801f3e0866f738701006cadd86))
* use correct key to group environments ([7f3f3c7](https://github.com/salesforcecli/cli-taxonomy-experiment/commit/7f3f3c7449f9f590b1fade06604256440abba7ae))
- split env list table ([859d538](https://github.com/salesforcecli/cli-taxonomy-experiment/commit/859d5382a7fea9801f3e0866f738701006cadd86))
- use correct key to group environments ([7f3f3c7](https://github.com/salesforcecli/cli-taxonomy-experiment/commit/7f3f3c7449f9f590b1fade06604256440abba7ae))

### [1.3.1](https://github.com/salesforcecli/cli-taxonomy-experiment/compare/v1.3.0...v1.3.1) (2021-05-10)

## [1.3.0](https://github.com/salesforcecli/cli-taxonomy-experiment/compare/v1.2.0...v1.3.0) (2021-04-27)


### Features

* add login functions ([789121a](https://github.com/salesforcecli/cli-taxonomy-experiment/commit/789121a1dc8e90f153fd88a52a8de62f6e227e97))
- add login functions ([789121a](https://github.com/salesforcecli/cli-taxonomy-experiment/commit/789121a1dc8e90f153fd88a52a8de62f6e227e97))

## [1.2.0](https://github.com/salesforcecli/cli-taxonomy-experiment/compare/v1.1.0...v1.2.0) (2021-04-22)


### Features

* functional env create commands ([b33c79f](https://github.com/salesforcecli/cli-taxonomy-experiment/commit/b33c79fe5ec7b86d248836a9dda1bd6db2a6d809))
* **config:** add config topic and commands ([b343d0e](https://github.com/salesforcecli/cli-taxonomy-experiment/commit/b343d0eb4d88311dad7baf30bb40b301a2609caa))
* **data:** add data dummy commands ([718b7ae](https://github.com/salesforcecli/cli-taxonomy-experiment/commit/718b7ae0ba62a2631024dadc52fa6af053369b2f))
* **env:** add env open dummy command ([f73ff92](https://github.com/salesforcecli/cli-taxonomy-experiment/commit/f73ff92d03a55229cbc8c50bf43fd1dbd1bc92e8))
* **env:** add some dummy env commands and fix a bunch of other dummy commands ([b65c4e6](https://github.com/salesforcecli/cli-taxonomy-experiment/commit/b65c4e6db557f5d7f0998f3ad69ce53727ab1b50))
* **event:** add event dummy commands ([23a337c](https://github.com/salesforcecli/cli-taxonomy-experiment/commit/23a337c6fecec7fa0af12ae431ddc0c9a8d7acf1))
* **logout:** add logout command ([466c8e3](https://github.com/salesforcecli/cli-taxonomy-experiment/commit/466c8e3af4a25375612d4f6e7e390c6cb0636e60))
* **package:** add dummy package commands ([06b398c](https://github.com/salesforcecli/cli-taxonomy-experiment/commit/06b398caa3bef68551c13c91554ad13cdd326e6c))
* **usage:** add usage and env usage commands ([a609be7](https://github.com/salesforcecli/cli-taxonomy-experiment/commit/a609be75271bae356196b064c1cb236f54c1598b))

- functional env create commands ([b33c79f](https://github.com/salesforcecli/cli-taxonomy-experiment/commit/b33c79fe5ec7b86d248836a9dda1bd6db2a6d809))
- **config:** add config topic and commands ([b343d0e](https://github.com/salesforcecli/cli-taxonomy-experiment/commit/b343d0eb4d88311dad7baf30bb40b301a2609caa))
- **data:** add data dummy commands ([718b7ae](https://github.com/salesforcecli/cli-taxonomy-experiment/commit/718b7ae0ba62a2631024dadc52fa6af053369b2f))
- **env:** add env open dummy command ([f73ff92](https://github.com/salesforcecli/cli-taxonomy-experiment/commit/f73ff92d03a55229cbc8c50bf43fd1dbd1bc92e8))
- **env:** add some dummy env commands and fix a bunch of other dummy commands ([b65c4e6](https://github.com/salesforcecli/cli-taxonomy-experiment/commit/b65c4e6db557f5d7f0998f3ad69ce53727ab1b50))
- **event:** add event dummy commands ([23a337c](https://github.com/salesforcecli/cli-taxonomy-experiment/commit/23a337c6fecec7fa0af12ae431ddc0c9a8d7acf1))
- **logout:** add logout command ([466c8e3](https://github.com/salesforcecli/cli-taxonomy-experiment/commit/466c8e3af4a25375612d4f6e7e390c6cb0636e60))
- **package:** add dummy package commands ([06b398c](https://github.com/salesforcecli/cli-taxonomy-experiment/commit/06b398caa3bef68551c13c91554ad13cdd326e6c))
- **usage:** add usage and env usage commands ([a609be7](https://github.com/salesforcecli/cli-taxonomy-experiment/commit/a609be75271bae356196b064c1cb236f54c1598b))

### Bug Fixes

* logout of everything by default ([9485891](https://github.com/salesforcecli/cli-taxonomy-experiment/commit/9485891b2a58769e05c625f7523b7d0187b270ee))
- logout of everything by default ([9485891](https://github.com/salesforcecli/cli-taxonomy-experiment/commit/9485891b2a58769e05c625f7523b7d0187b270ee))

## [1.1.0](https://github.com/salesforcecli/cli-taxonomy-experiment/compare/v1.0.2...v1.1.0) (2021-04-05)


### Features

* add new commands and interactivity ([a205f2c](https://github.com/salesforcecli/cli-taxonomy-experiment/commit/a205f2c9cec90df8c36f9c6792c4d05835c74328))
- add new commands and interactivity ([a205f2c](https://github.com/salesforcecli/cli-taxonomy-experiment/commit/a205f2c9cec90df8c36f9c6792c4d05835c74328))

### 1.0.2 (2021-04-01)


### Features

* add whoami and update list/login ([ad4fc6b](https://github.com/salesforcecli/cli-taxonomy-experiment/commit/ad4fc6baa86919ab009a9a71c421c73524bbe086))
* change to space seperated commands ([a01716d](https://github.com/salesforcecli/cli-taxonomy-experiment/commit/a01716d3fbfa1c3365f3b44d5dd54726ac9188e1))
* update taxonomy and deps ([b82680c](https://github.com/salesforcecli/cli-taxonomy-experiment/commit/b82680c017a376a41a5d380dc78d0dbf65500f85))

- add whoami and update list/login ([ad4fc6b](https://github.com/salesforcecli/cli-taxonomy-experiment/commit/ad4fc6baa86919ab009a9a71c421c73524bbe086))
- change to space seperated commands ([a01716d](https://github.com/salesforcecli/cli-taxonomy-experiment/commit/a01716d3fbfa1c3365f3b44d5dd54726ac9188e1))
- update taxonomy and deps ([b82680c](https://github.com/salesforcecli/cli-taxonomy-experiment/commit/b82680c017a376a41a5d380dc78d0dbf65500f85))

### Bug Fixes

* add bin path ([e3a7643](https://github.com/salesforcecli/cli-taxonomy-experiment/commit/e3a76438efec04cde44fb7620695f3782a5d30ca))
- add bin path ([e3a7643](https://github.com/salesforcecli/cli-taxonomy-experiment/commit/e3a76438efec04cde44fb7620695f3782a5d30ca))
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@salesforce/sf-demo",
"description": "An experiment to explore a new taxonomy for all Salesforce clouds.",
"version": "1.6.2",
"version": "1.6.3",
"author": "Salesforce",
"keywords": [],
"license": "BSD-3-Clause",
Expand Down
9 changes: 6 additions & 3 deletions src/commands/env/list.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,11 @@
* For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
*/

import { EOL } from 'os';
import { Flags, Interfaces } from '@oclif/core';
import { AnyJson } from '@salesforce/ts-types';
import { cli } from 'cli-ux';
import { bold, cyan, green, red } from 'chalk';
import { bold, green, red } from 'chalk';
import { Messages } from '@salesforce/core';
import SfCommand from '../../sf-command';
import { Environment } from '../../configs/environments';
Expand Down Expand Up @@ -144,7 +145,6 @@ export default class EnvList extends SfCommand {
};

// Salesforce Orgs
this.log(bold(cyan(typeToHeader.org)));
cli.table(
groupedByType.org,
{
Expand All @@ -155,11 +155,13 @@ export default class EnvList extends SfCommand {
},
{
...flags,
title: typeToHeader.org,
}
);

console.log(EOL);

// Compute Environments
this.log(bold(cyan(typeToHeader.compute)));
cli.table(
groupedByType.compute,
{
Expand All @@ -171,6 +173,7 @@ export default class EnvList extends SfCommand {
},
{
...flags,
title: typeToHeader.compute,
}
);
this.log();
Expand Down
2 changes: 1 addition & 1 deletion src/commands/reset.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import SfCommand from '../sf-command';
import { CLI_CONFIG_PATH } from '../configs/constants';

export default class JWT extends SfCommand {
public static description = 'reset data created by this CLI';
public static description = 'Reset data created by this CLI.';

public async run(): Promise<AnyJson> {
await fs.rmdir(CLI_CONFIG_PATH, { recursive: true });
Expand Down

0 comments on commit 44b1158

Please sign in to comment.