Skip to content

Commit

Permalink
Rename the command to 'cacert:export'
Browse files Browse the repository at this point in the history
Signed-off-by: Mykola Morhun <mmorhun@redhat.com>
  • Loading branch information
mmorhun committed Apr 27, 2020
1 parent dd1748e commit c1083d2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ USAGE
# Commands
<!-- commands -->
* [`chectl autocomplete [SHELL]`](#chectl-autocomplete-shell)
* [`chectl cacert:get`](#chectl-cacertget)
* [`chectl cacert:export`](#chectl-cacertexport)
* [`chectl dashboard:open`](#chectl-dashboardopen)
* [`chectl devfile:generate`](#chectl-devfilegenerate)
* [`chectl help [COMMAND]`](#chectl-help-command)
Expand Down Expand Up @@ -124,13 +124,13 @@ EXAMPLES

_See code: [@oclif/plugin-autocomplete](https://github.com/oclif/plugin-autocomplete/blob/v0.1.5/src/commands/autocomplete/index.ts)_

## `chectl cacert:get`
## `chectl cacert:export`

Retrieves Eclipse Che self-signed certificate

```
USAGE
$ chectl cacert:get
$ chectl cacert:export
OPTIONS
-d, --destination=destination
Expand All @@ -153,7 +153,7 @@ OPTIONS
(for CodeReady Containers)", "microk8s".
```

_See code: [src/commands/cacert/get.ts](https://github.com/che-incubator/chectl/blob/v0.0.2/src/commands/cacert/get.ts)_
_See code: [src/commands/cacert/export.ts](https://github.com/che-incubator/chectl/blob/v0.0.2/src/commands/cacert/export.ts)_

## `chectl dashboard:open`

Expand Down
4 changes: 2 additions & 2 deletions src/commands/cacert/get.ts → src/commands/cacert/export.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import { PlatformTasks } from '../../tasks/platforms/platform'

const DEFAULT_CA_CERT_FILE_NAME = 'cheCA.crt'

export default class Get extends Command {
export default class Export extends Command {
static description = 'Retrieves Eclipse Che self-signed certificate'

static flags = {
Expand All @@ -46,7 +46,7 @@ export default class Get extends Command {
}

async run() {
const { flags } = this.parse(Get)
const { flags } = this.parse(Export)
const ctx: any = {}
const cheHelper = new CheHelper(flags)
const platformTasks = new PlatformTasks()
Expand Down

0 comments on commit c1083d2

Please sign in to comment.