Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change --nocolour to --no-color #1224

Merged
merged 1 commit into from
Oct 28, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -197,11 +197,11 @@ export NO_COLOR=""

More information on `NO_COLOR` can be found in the [`NO_COLOR` documentation](https://no-color.org/).

To remove color and emojis from the output of a single command execution, the `--nocolour` option can be used with any command,
To remove color and emojis from the output of a single command execution, the `--no-color` option can be used with any command,
such as in the example below:

```
tkn taskrun describe --nocolour
tkn taskrun describe --no-color
```

## Want to contribute
Expand Down
2 changes: 1 addition & 1 deletion docs/cmd/tkn_clustertask.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Manage ClusterTasks
-c, --context string name of the kubeconfig context to use (default: kubectl config current-context)
-h, --help help for clustertask
-k, --kubeconfig string kubectl config file (default: $HOME/.kube/config)
-C, --nocolour disable colouring (default: false)
-C, --no-color disable coloring (default: false)
```

### SEE ALSO
Expand Down
2 changes: 1 addition & 1 deletion docs/cmd/tkn_clustertask_delete.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ or
```
-c, --context string name of the kubeconfig context to use (default: kubectl config current-context)
-k, --kubeconfig string kubectl config file (default: $HOME/.kube/config)
-C, --nocolour disable colouring (default: false)
-C, --no-color disable coloring (default: false)
```

### SEE ALSO
Expand Down
2 changes: 1 addition & 1 deletion docs/cmd/tkn_clustertask_describe.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ or
```
-c, --context string name of the kubeconfig context to use (default: kubectl config current-context)
-k, --kubeconfig string kubectl config file (default: $HOME/.kube/config)
-C, --nocolour disable colouring (default: false)
-C, --no-color disable coloring (default: false)
```

### SEE ALSO
Expand Down
2 changes: 1 addition & 1 deletion docs/cmd/tkn_clustertask_list.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Lists ClusterTasks
```
-c, --context string name of the kubeconfig context to use (default: kubectl config current-context)
-k, --kubeconfig string kubectl config file (default: $HOME/.kube/config)
-C, --nocolour disable colouring (default: false)
-C, --no-color disable coloring (default: false)
```

### SEE ALSO
Expand Down
2 changes: 1 addition & 1 deletion docs/cmd/tkn_clustertask_start.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ like cat,foo,bar
```
-c, --context string name of the kubeconfig context to use (default: kubectl config current-context)
-k, --kubeconfig string kubectl config file (default: $HOME/.kube/config)
-C, --nocolour disable colouring (default: false)
-C, --no-color disable coloring (default: false)
```

### SEE ALSO
Expand Down
2 changes: 1 addition & 1 deletion docs/cmd/tkn_clustertriggerbinding.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Manage ClusterTriggerBindings
-c, --context string name of the kubeconfig context to use (default: kubectl config current-context)
-h, --help help for clustertriggerbinding
-k, --kubeconfig string kubectl config file (default: $HOME/.kube/config)
-C, --nocolour disable colouring (default: false)
-C, --no-color disable coloring (default: false)
```

### SEE ALSO
Expand Down
2 changes: 1 addition & 1 deletion docs/cmd/tkn_clustertriggerbinding_delete.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ or
```
-c, --context string name of the kubeconfig context to use (default: kubectl config current-context)
-k, --kubeconfig string kubectl config file (default: $HOME/.kube/config)
-C, --nocolour disable colouring (default: false)
-C, --no-color disable coloring (default: false)
```

### SEE ALSO
Expand Down
2 changes: 1 addition & 1 deletion docs/cmd/tkn_clustertriggerbinding_describe.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ or
```
-c, --context string name of the kubeconfig context to use (default: kubectl config current-context)
-k, --kubeconfig string kubectl config file (default: $HOME/.kube/config)
-C, --nocolour disable colouring (default: false)
-C, --no-color disable coloring (default: false)
```

### SEE ALSO
Expand Down
2 changes: 1 addition & 1 deletion docs/cmd/tkn_clustertriggerbinding_list.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ or
```
-c, --context string name of the kubeconfig context to use (default: kubectl config current-context)
-k, --kubeconfig string kubectl config file (default: $HOME/.kube/config)
-C, --nocolour disable colouring (default: false)
-C, --no-color disable coloring (default: false)
```

### SEE ALSO
Expand Down
2 changes: 1 addition & 1 deletion docs/cmd/tkn_condition.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Manage Conditions
-h, --help help for condition
-k, --kubeconfig string kubectl config file (default: $HOME/.kube/config)
-n, --namespace string namespace to use (default: from $KUBECONFIG)
-C, --nocolour disable colouring (default: false)
-C, --no-color disable coloring (default: false)
```

### SEE ALSO
Expand Down
2 changes: 1 addition & 1 deletion docs/cmd/tkn_condition_delete.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ or
-c, --context string name of the kubeconfig context to use (default: kubectl config current-context)
-k, --kubeconfig string kubectl config file (default: $HOME/.kube/config)
-n, --namespace string namespace to use (default: from $KUBECONFIG)
-C, --nocolour disable colouring (default: false)
-C, --no-color disable coloring (default: false)
```

### SEE ALSO
Expand Down
2 changes: 1 addition & 1 deletion docs/cmd/tkn_condition_describe.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ or
-c, --context string name of the kubeconfig context to use (default: kubectl config current-context)
-k, --kubeconfig string kubectl config file (default: $HOME/.kube/config)
-n, --namespace string namespace to use (default: from $KUBECONFIG)
-C, --nocolour disable colouring (default: false)
-C, --no-color disable coloring (default: false)
```

### SEE ALSO
Expand Down
2 changes: 1 addition & 1 deletion docs/cmd/tkn_condition_list.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Lists Conditions in a namespace
-c, --context string name of the kubeconfig context to use (default: kubectl config current-context)
-k, --kubeconfig string kubectl config file (default: $HOME/.kube/config)
-n, --namespace string namespace to use (default: from $KUBECONFIG)
-C, --nocolour disable colouring (default: false)
-C, --no-color disable coloring (default: false)
```

### SEE ALSO
Expand Down
2 changes: 1 addition & 1 deletion docs/cmd/tkn_eventlistener.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Manage EventListeners
-h, --help help for eventlistener
-k, --kubeconfig string kubectl config file (default: $HOME/.kube/config)
-n, --namespace string namespace to use (default: from $KUBECONFIG)
-C, --nocolour disable colouring (default: false)
-C, --no-color disable coloring (default: false)
```

### SEE ALSO
Expand Down
2 changes: 1 addition & 1 deletion docs/cmd/tkn_eventlistener_delete.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ or
-c, --context string name of the kubeconfig context to use (default: kubectl config current-context)
-k, --kubeconfig string kubectl config file (default: $HOME/.kube/config)
-n, --namespace string namespace to use (default: from $KUBECONFIG)
-C, --nocolour disable colouring (default: false)
-C, --no-color disable coloring (default: false)
```

### SEE ALSO
Expand Down
2 changes: 1 addition & 1 deletion docs/cmd/tkn_eventlistener_describe.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ or
-c, --context string name of the kubeconfig context to use (default: kubectl config current-context)
-k, --kubeconfig string kubectl config file (default: $HOME/.kube/config)
-n, --namespace string namespace to use (default: from $KUBECONFIG)
-C, --nocolour disable colouring (default: false)
-C, --no-color disable coloring (default: false)
```

### SEE ALSO
Expand Down
2 changes: 1 addition & 1 deletion docs/cmd/tkn_eventlistener_list.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ or
-c, --context string name of the kubeconfig context to use (default: kubectl config current-context)
-k, --kubeconfig string kubectl config file (default: $HOME/.kube/config)
-n, --namespace string namespace to use (default: from $KUBECONFIG)
-C, --nocolour disable colouring (default: false)
-C, --no-color disable coloring (default: false)
```

### SEE ALSO
Expand Down
2 changes: 1 addition & 1 deletion docs/cmd/tkn_eventlistener_logs.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ Show 2 lines of most recent logs from all EventListener pods:
-c, --context string name of the kubeconfig context to use (default: kubectl config current-context)
-k, --kubeconfig string kubectl config file (default: $HOME/.kube/config)
-n, --namespace string namespace to use (default: from $KUBECONFIG)
-C, --nocolour disable colouring (default: false)
-C, --no-color disable coloring (default: false)
```

### SEE ALSO
Expand Down
2 changes: 1 addition & 1 deletion docs/cmd/tkn_pipeline.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Manage pipelines
-h, --help help for pipeline
-k, --kubeconfig string kubectl config file (default: $HOME/.kube/config)
-n, --namespace string namespace to use (default: from $KUBECONFIG)
-C, --nocolour disable colouring (default: false)
-C, --no-color disable coloring (default: false)
```

### SEE ALSO
Expand Down
2 changes: 1 addition & 1 deletion docs/cmd/tkn_pipeline_delete.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ or
-c, --context string name of the kubeconfig context to use (default: kubectl config current-context)
-k, --kubeconfig string kubectl config file (default: $HOME/.kube/config)
-n, --namespace string namespace to use (default: from $KUBECONFIG)
-C, --nocolour disable colouring (default: false)
-C, --no-color disable coloring (default: false)
```

### SEE ALSO
Expand Down
2 changes: 1 addition & 1 deletion docs/cmd/tkn_pipeline_describe.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Describes a Pipeline in a namespace
-c, --context string name of the kubeconfig context to use (default: kubectl config current-context)
-k, --kubeconfig string kubectl config file (default: $HOME/.kube/config)
-n, --namespace string namespace to use (default: from $KUBECONFIG)
-C, --nocolour disable colouring (default: false)
-C, --no-color disable coloring (default: false)
```

### SEE ALSO
Expand Down
2 changes: 1 addition & 1 deletion docs/cmd/tkn_pipeline_list.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Lists Pipelines in a namespace
-c, --context string name of the kubeconfig context to use (default: kubectl config current-context)
-k, --kubeconfig string kubectl config file (default: $HOME/.kube/config)
-n, --namespace string namespace to use (default: from $KUBECONFIG)
-C, --nocolour disable colouring (default: false)
-C, --no-color disable coloring (default: false)
```

### SEE ALSO
Expand Down
2 changes: 1 addition & 1 deletion docs/cmd/tkn_pipeline_logs.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ Show logs for given Pipeline and PipelineRun:
-c, --context string name of the kubeconfig context to use (default: kubectl config current-context)
-k, --kubeconfig string kubectl config file (default: $HOME/.kube/config)
-n, --namespace string namespace to use (default: from $KUBECONFIG)
-C, --nocolour disable colouring (default: false)
-C, --no-color disable coloring (default: false)
```

### SEE ALSO
Expand Down
2 changes: 1 addition & 1 deletion docs/cmd/tkn_pipeline_start.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ my-secret and my-empty-dir)
-c, --context string name of the kubeconfig context to use (default: kubectl config current-context)
-k, --kubeconfig string kubectl config file (default: $HOME/.kube/config)
-n, --namespace string namespace to use (default: from $KUBECONFIG)
-C, --nocolour disable colouring (default: false)
-C, --no-color disable coloring (default: false)
```

### SEE ALSO
Expand Down
2 changes: 1 addition & 1 deletion docs/cmd/tkn_pipelinerun.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Manage PipelineRuns
-h, --help help for pipelinerun
-k, --kubeconfig string kubectl config file (default: $HOME/.kube/config)
-n, --namespace string namespace to use (default: from $KUBECONFIG)
-C, --nocolour disable colouring (default: false)
-C, --no-color disable coloring (default: false)
```

### SEE ALSO
Expand Down
2 changes: 1 addition & 1 deletion docs/cmd/tkn_pipelinerun_cancel.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Cancel the PipelineRun named 'foo' from namespace 'bar':
-c, --context string name of the kubeconfig context to use (default: kubectl config current-context)
-k, --kubeconfig string kubectl config file (default: $HOME/.kube/config)
-n, --namespace string namespace to use (default: from $KUBECONFIG)
-C, --nocolour disable colouring (default: false)
-C, --no-color disable coloring (default: false)
```

### SEE ALSO
Expand Down
2 changes: 1 addition & 1 deletion docs/cmd/tkn_pipelinerun_delete.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ or
-c, --context string name of the kubeconfig context to use (default: kubectl config current-context)
-k, --kubeconfig string kubectl config file (default: $HOME/.kube/config)
-n, --namespace string namespace to use (default: from $KUBECONFIG)
-C, --nocolour disable colouring (default: false)
-C, --no-color disable coloring (default: false)
```

### SEE ALSO
Expand Down
2 changes: 1 addition & 1 deletion docs/cmd/tkn_pipelinerun_describe.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ or
-c, --context string name of the kubeconfig context to use (default: kubectl config current-context)
-k, --kubeconfig string kubectl config file (default: $HOME/.kube/config)
-n, --namespace string namespace to use (default: from $KUBECONFIG)
-C, --nocolour disable colouring (default: false)
-C, --no-color disable coloring (default: false)
```

### SEE ALSO
Expand Down
2 changes: 1 addition & 1 deletion docs/cmd/tkn_pipelinerun_list.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ List all PipelineRuns in a namespace 'foo':
-c, --context string name of the kubeconfig context to use (default: kubectl config current-context)
-k, --kubeconfig string kubectl config file (default: $HOME/.kube/config)
-n, --namespace string namespace to use (default: from $KUBECONFIG)
-C, --nocolour disable colouring (default: false)
-C, --no-color disable coloring (default: false)
```

### SEE ALSO
Expand Down
2 changes: 1 addition & 1 deletion docs/cmd/tkn_pipelinerun_logs.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ Show the logs of PipelineRun named 'microservice-1' for all Tasks and steps (inc
-c, --context string name of the kubeconfig context to use (default: kubectl config current-context)
-k, --kubeconfig string kubectl config file (default: $HOME/.kube/config)
-n, --namespace string namespace to use (default: from $KUBECONFIG)
-C, --nocolour disable colouring (default: false)
-C, --no-color disable coloring (default: false)
```

### SEE ALSO
Expand Down
2 changes: 1 addition & 1 deletion docs/cmd/tkn_resource.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Manage pipeline resources
-h, --help help for resource
-k, --kubeconfig string kubectl config file (default: $HOME/.kube/config)
-n, --namespace string namespace to use (default: from $KUBECONFIG)
-C, --nocolour disable colouring (default: false)
-C, --no-color disable coloring (default: false)
```

### SEE ALSO
Expand Down
2 changes: 1 addition & 1 deletion docs/cmd/tkn_resource_create.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Creates new PipelineResource as per the given input:
-c, --context string name of the kubeconfig context to use (default: kubectl config current-context)
-k, --kubeconfig string kubectl config file (default: $HOME/.kube/config)
-n, --namespace string namespace to use (default: from $KUBECONFIG)
-C, --nocolour disable colouring (default: false)
-C, --no-color disable coloring (default: false)
```

### SEE ALSO
Expand Down
2 changes: 1 addition & 1 deletion docs/cmd/tkn_resource_delete.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ or
-c, --context string name of the kubeconfig context to use (default: kubectl config current-context)
-k, --kubeconfig string kubectl config file (default: $HOME/.kube/config)
-n, --namespace string namespace to use (default: from $KUBECONFIG)
-C, --nocolour disable colouring (default: false)
-C, --no-color disable coloring (default: false)
```

### SEE ALSO
Expand Down
2 changes: 1 addition & 1 deletion docs/cmd/tkn_resource_describe.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ or
-c, --context string name of the kubeconfig context to use (default: kubectl config current-context)
-k, --kubeconfig string kubectl config file (default: $HOME/.kube/config)
-n, --namespace string namespace to use (default: from $KUBECONFIG)
-C, --nocolour disable colouring (default: false)
-C, --no-color disable coloring (default: false)
```

### SEE ALSO
Expand Down
2 changes: 1 addition & 1 deletion docs/cmd/tkn_resource_list.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ List all PipelineResources in a namespace 'foo':
-c, --context string name of the kubeconfig context to use (default: kubectl config current-context)
-k, --kubeconfig string kubectl config file (default: $HOME/.kube/config)
-n, --namespace string namespace to use (default: from $KUBECONFIG)
-C, --nocolour disable colouring (default: false)
-C, --no-color disable coloring (default: false)
```

### SEE ALSO
Expand Down
2 changes: 1 addition & 1 deletion docs/cmd/tkn_task.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Manage Tasks
-h, --help help for task
-k, --kubeconfig string kubectl config file (default: $HOME/.kube/config)
-n, --namespace string namespace to use (default: from $KUBECONFIG)
-C, --nocolour disable colouring (default: false)
-C, --no-color disable coloring (default: false)
```

### SEE ALSO
Expand Down
2 changes: 1 addition & 1 deletion docs/cmd/tkn_task_delete.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ or
-c, --context string name of the kubeconfig context to use (default: kubectl config current-context)
-k, --kubeconfig string kubectl config file (default: $HOME/.kube/config)
-n, --namespace string namespace to use (default: from $KUBECONFIG)
-C, --nocolour disable colouring (default: false)
-C, --no-color disable coloring (default: false)
```

### SEE ALSO
Expand Down
2 changes: 1 addition & 1 deletion docs/cmd/tkn_task_describe.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ or
-c, --context string name of the kubeconfig context to use (default: kubectl config current-context)
-k, --kubeconfig string kubectl config file (default: $HOME/.kube/config)
-n, --namespace string namespace to use (default: from $KUBECONFIG)
-C, --nocolour disable colouring (default: false)
-C, --no-color disable coloring (default: false)
```

### SEE ALSO
Expand Down
2 changes: 1 addition & 1 deletion docs/cmd/tkn_task_list.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Lists Tasks in a namespace
-c, --context string name of the kubeconfig context to use (default: kubectl config current-context)
-k, --kubeconfig string kubectl config file (default: $HOME/.kube/config)
-n, --namespace string namespace to use (default: from $KUBECONFIG)
-C, --nocolour disable colouring (default: false)
-C, --no-color disable coloring (default: false)
```

### SEE ALSO
Expand Down
2 changes: 1 addition & 1 deletion docs/cmd/tkn_task_logs.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ Show logs for given Task and associated TaskRun:
-c, --context string name of the kubeconfig context to use (default: kubectl config current-context)
-k, --kubeconfig string kubectl config file (default: $HOME/.kube/config)
-n, --namespace string namespace to use (default: from $KUBECONFIG)
-C, --nocolour disable colouring (default: false)
-C, --no-color disable coloring (default: false)
```

### SEE ALSO
Expand Down
2 changes: 1 addition & 1 deletion docs/cmd/tkn_task_start.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ like cat,foo,bar
-c, --context string name of the kubeconfig context to use (default: kubectl config current-context)
-k, --kubeconfig string kubectl config file (default: $HOME/.kube/config)
-n, --namespace string namespace to use (default: from $KUBECONFIG)
-C, --nocolour disable colouring (default: false)
-C, --no-color disable coloring (default: false)
```

### SEE ALSO
Expand Down
2 changes: 1 addition & 1 deletion docs/cmd/tkn_taskrun.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Manage TaskRuns
-h, --help help for taskrun
-k, --kubeconfig string kubectl config file (default: $HOME/.kube/config)
-n, --namespace string namespace to use (default: from $KUBECONFIG)
-C, --nocolour disable colouring (default: false)
-C, --no-color disable coloring (default: false)
```

### SEE ALSO
Expand Down
Loading