mirror of
https://github.com/tldr-pages/tldr.git
synced 2026-08-30 17:33:50 +08:00
wiggle, kubetail, docker-context, surge: remove usage of personal language (#19740)
This commit is contained in:
@@ -5,15 +5,15 @@
|
||||
|
||||
- Create a context using a specific Docker endpoint:
|
||||
|
||||
`docker context create {{my_context}} --docker "host={{tcp://remote-host:2375}}"`
|
||||
`docker context create {{context_name}} --docker "host={{tcp://remote-host:2375}}"`
|
||||
|
||||
- Create a context based on the `$DOCKER_HOST` environment variable:
|
||||
|
||||
`docker context create {{my_context}}`
|
||||
`docker context create {{context_name}}`
|
||||
|
||||
- Switch to a context:
|
||||
|
||||
`docker context use {{my_context}}`
|
||||
`docker context use {{context_name}}`
|
||||
|
||||
- List all contexts:
|
||||
|
||||
|
||||
@@ -3,18 +3,18 @@
|
||||
> Utility to tail multiple Kubernetes pod logs at the same time.
|
||||
> More information: <https://github.com/johanhaleby/kubetail>.
|
||||
|
||||
- Tail the logs of multiple pods (whose name starts with "my_app") in one go:
|
||||
- Tail the logs of multiple pods (whose name starts with `app_name`) in one go:
|
||||
|
||||
`kubetail {{my_app}}`
|
||||
`kubetail {{app_name}}`
|
||||
|
||||
- Tail only a specific container from multiple pods:
|
||||
|
||||
`kubetail {{my_app}} {{[-c|--container]}} {{my_container}}`
|
||||
`kubetail {{app_name}} {{[-c|--container]}} {{container_name}}`
|
||||
|
||||
- Tail multiple containers from multiple pods:
|
||||
|
||||
`kubetail {{my_app}} {{[-c|--container]}} {{my_container_1}} {{[-c|--container]}} {{my_container_2}}`
|
||||
`kubetail {{app_name}} {{[-c|--container]}} {{container_name_1}} {{[-c|--container]}} {{container_name_2}}`
|
||||
|
||||
- Tail multiple applications at the same time separate them by comma:
|
||||
|
||||
`kubetail {{my_app_1,my_app_2,...}}`
|
||||
`kubetail {{app_name_1,app_name_2,...}}`
|
||||
|
||||
@@ -5,11 +5,11 @@
|
||||
|
||||
- Upload a new site to surge.sh:
|
||||
|
||||
`surge {{path/to/my_project}}`
|
||||
`surge {{path/to/project}}`
|
||||
|
||||
- Deploy site to custom domain (note that the DNS records must point to the surge.sh subdomain):
|
||||
|
||||
`surge {{path/to/my_project}} {{example.com}}`
|
||||
`surge {{path/to/project}} {{example.com}}`
|
||||
|
||||
- List your surge projects:
|
||||
|
||||
|
||||
@@ -6,11 +6,11 @@
|
||||
|
||||
- Apply changes from the patch file to the original file:
|
||||
|
||||
`wiggle {{path/to/my_patch.patch}}`
|
||||
`wiggle {{path/to/file.patch}}`
|
||||
|
||||
- Apply changes to the output file:
|
||||
|
||||
`wiggle {{path/to/my_patch.patch}} {{[-o|--output]}} {{path/to/output_file.txt}}`
|
||||
`wiggle {{path/to/file.patch}} {{[-o|--output]}} {{path/to/output_file.txt}}`
|
||||
|
||||
- Take any changes in `file.rej` that could not have been applied and merge them into a file:
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
- Extract one branch of a patch or merge file:
|
||||
|
||||
`wiggle {{[-x|--extract]}} {{path/to/my_patch.patch}}`
|
||||
`wiggle {{[-x|--extract]}} {{path/to/file.patch}}`
|
||||
|
||||
- Apply a patch and save the compared words to the output file:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user