diff --git a/.github/workflows/minikube-chectl-release-test.yml b/.github/workflows/minikube-chectl-release-test.yml index 8d79f605c..1a730c674 100644 --- a/.github/workflows/minikube-chectl-release-test.yml +++ b/.github/workflows/minikube-chectl-release-test.yml @@ -34,7 +34,7 @@ jobs: - name: UnPack chectl binaries in $HOME/chectl run: | # Will unpack chectl binaries in $HOME/chectl - tar -xvf dist/channels/*/chectl-linux-x64.tar.gz -C $HOME + tar -xvf dist/chectl-linux-x64.tar.gz -C $HOME echo "$HOME/chectl/bin" >> $GITHUB_PATH rm -rf tmp/ - name: Run tests diff --git a/.github/workflows/release-build-and-push-to-GH-releases.yml b/.github/workflows/release-build-and-push-to-GH-releases.yml index 103dfd260..5d543ecae 100644 --- a/.github/workflows/release-build-and-push-to-GH-releases.yml +++ b/.github/workflows/release-build-and-push-to-GH-releases.yml @@ -65,7 +65,7 @@ jobs: with: name: ${{ steps.TAG_UTIL.outputs.gh_release_name }} tag_name: ${{ steps.TAG_UTIL.outputs.gh_tag }} - files: "./dist/channels/**/chectl-*.gz" + files: "./dist/chectl-*.gz" env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Update github pages diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 405186b49..79d004a21 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -64,7 +64,7 @@ Testing summary will be printed to the output. To test ensure `chectl` is built successfully, launch the `[Chectl] Run` command. It wil run `chectl` with `--help` directive. ## Package binaries -For packaging binaries, [oclif](https://github.com/oclif/dev-cli) is used. It generates packages for Linux, Windows, and MacOS operating systems and puts the result in the `dist/channels/stable` directory. +For packaging binaries, [oclif](https://github.com/oclif/dev-cli) is used. It generates packages for Linux, Windows, and MacOS operating systems and puts the result in the `dist/` directory. To start packaging, just run the `[Chectl] Package Binaries` command. It will run the following in the `/projects/chectl` directory: ```bash diff --git a/README.md b/README.md index 6e42a7faf..beff2ebaf 100644 --- a/README.md +++ b/README.md @@ -116,18 +116,24 @@ display autocomplete installation instructions ``` USAGE - $ chectl autocomplete [SHELL] + $ chectl autocomplete [SHELL] [-r] ARGUMENTS SHELL shell type -OPTIONS +FLAGS -r, --refresh-cache Refresh cache (ignores displaying instructions) +DESCRIPTION + display autocomplete installation instructions + EXAMPLES $ chectl autocomplete + $ chectl autocomplete bash + $ chectl autocomplete zsh + $ chectl autocomplete --refresh-cache ``` @@ -139,10 +145,10 @@ Retrieves Eclipse Che self-signed certificate ``` USAGE - $ chectl cacert:export + $ chectl cacert:export [-h] [-n ] [--telemetry on|off] [-d ] -OPTIONS - -d, --destination=destination +FLAGS + -d, --destination= Destination where to store Eclipse Che self-signed CA certificate. If the destination is a file (might not exist), then the certificate will be saved there in PEM format. If the destination is a directory, then cheCA.crt file will be created there with Eclipse Che certificate in PEM @@ -152,11 +158,15 @@ OPTIONS -h, --help show CLI help - -n, --chenamespace=chenamespace + -n, --chenamespace= Eclipse Che Kubernetes namespace. - --telemetry=on|off + --telemetry=