Skip to content

Commit

Permalink
intelliJ cli support (#57)
Browse files Browse the repository at this point in the history
  • Loading branch information
Deepak Sharma authored Apr 30, 2021
1 parent 1438e2e commit 902e40f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion cmd/validators.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ func validateFileArg(cmd *cobra.Command, args []string) error {
}

func validateFlagValues(flag string) error {
validValues := []string{"jenkins", "terminal", "tekton", "gh-actions"}
validValues := []string{"jenkins", "terminal", "tekton", "gh-actions", "intellij"}
for _, item := range validValues {
if item == flag {
return nil
Expand Down
12 changes: 6 additions & 6 deletions docs/cli_README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,22 +28,22 @@ You can manually change your preference about usage data collection by running i

- ##### For Linux
```
$ curl -s -L https://github.com/fabric8-analytics/cli-tools/releases/download/v0.1.2/crda_0.1.2_Linux_64bit.tar.gz | tar xvz -C .
$ curl -s -L https://github.com/fabric8-analytics/cli-tools/releases/download/v0.2.0/crda_0.2.0_Linux_64bit.tar.gz | tar xvz -C .
```
- ##### For Linux - Fedora/CentOS/RHEL
```
$ curl -s -L https://github.com/fabric8-analytics/cli-tools/releases/download/v0.1.2/crda_0.1.2_Linux-64bit.rpm
$ curl -s -L https://github.com/fabric8-analytics/cli-tools/releases/download/v0.2.0/crda_0.2.0_Linux-64bit.rpm
```
- ##### For MacOS
```
$ curl -s -L https://github.com/fabric8-analytics/cli-tools/releases/download/v0.1.2/crda_0.1.2_macOS_64bit.tar.gz | tar xvz -C .
$ curl -s -L https://github.com/fabric8-analytics/cli-tools/releases/download/v0.2.0/crda_0.2.0_macOS_64bit.tar.gz | tar xvz -C .
```
- ##### For MacOS - Apple Silicon
```
$ curl -s -L https://github.com/fabric8-analytics/cli-tools/releases/download/v0.1.2/crda_0.1.2_macOS_ARM64.tar.gz | tar xvz -C .
$ curl -s -L https://github.com/fabric8-analytics/cli-tools/releases/download/v0.2.0/crda_0.2.0_macOS_ARM64.tar.gz | tar xvz -C .
```
- ##### For Windows
Click [here](https://github.com/fabric8-analytics/cli-tools/releases/download/v0.1.2/crda_0.1.2_Windows_64bit.tar.gz) to start download.
Click [here](https://github.com/fabric8-analytics/cli-tools/releases/download/v0.2.0/crda_0.2.0_Windows_64bit.tar.gz) to start download.

### Usage:
Executable supports following commands:
Expand Down Expand Up @@ -75,7 +75,7 @@ Executable supports following commands:
- `--debug`: (bool) (Optional): Debug Flag. Enables Debug Logs
- `--no-color`: (bool) (Optional): Toggles colors in output.
- `--help` : help about binary functionalities.
- `--client`: Telemetry Client indentification [tekton/jenkins/gh-actions/terminal].
- `--client`: (string) Telemetry client identification [tekton/jenkins/gh-actions/intellij/terminal].

### EXIT CODES

Expand Down

0 comments on commit 902e40f

Please sign in to comment.