mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-23 07:35:24 +02:00
toolbox*: add option placeholders (#16447)
This commit is contained in:
parent
a133b1659b
commit
fe3284e0bf
7 changed files with 18 additions and 18 deletions
|
@ -5,20 +5,20 @@
|
|||
|
||||
- Create a `toolbox` container for a specific distribution:
|
||||
|
||||
`toolbox create --distro {{distribution}}`
|
||||
`toolbox create {{[-d|--distro]}} {{distribution}}`
|
||||
|
||||
- Create a `toolbox` container for a specific release of the current distribution:
|
||||
|
||||
`toolbox create --release {{release}}`
|
||||
`toolbox create {{[-r|--release]}} {{release}}`
|
||||
|
||||
- Create a `toolbox` container with a custom image:
|
||||
|
||||
`toolbox create --image {{name}}`
|
||||
`toolbox create {{[-i|--image]}} {{name}}`
|
||||
|
||||
- Create a `toolbox` container from a custom Fedora image:
|
||||
|
||||
`toolbox create --image {{registry.fedoraproject.org/fedora-toolbox:39}}`
|
||||
`toolbox create {{[-i|--image]}} {{registry.fedoraproject.org/fedora-toolbox:39}}`
|
||||
|
||||
- Create a `toolbox` container using the default image for Fedora 39:
|
||||
|
||||
`toolbox create --distro {{fedora}} --release {{f39}}`
|
||||
`toolbox create {{[-d|--distro]}} {{fedora}} {{[-r|--release]}} {{f39}}`
|
||||
|
|
|
@ -6,12 +6,12 @@
|
|||
|
||||
- Enter a `toolbox` container using the default image of a specific distribution:
|
||||
|
||||
`toolbox enter --distro {{distribution}}`
|
||||
`toolbox enter {{[-d|--distro]}} {{distribution}}`
|
||||
|
||||
- Enter a `toolbox` container using the default image of a specific release of the current distribution:
|
||||
|
||||
`toolbox enter --release {{release}}`
|
||||
`toolbox enter {{[-r|--release]}} {{release}}`
|
||||
|
||||
- Enter a toolbox container using the default image for Fedora 39:
|
||||
|
||||
`toolbox enter --distro {{fedora}} --release {{f39}}`
|
||||
`toolbox enter {{[-d|--distro]}} {{fedora}} {{[-r|--release]}} {{f39}}`
|
||||
|
|
|
@ -9,8 +9,8 @@
|
|||
|
||||
- List only `toolbox` containers:
|
||||
|
||||
`toolbox list --containers`
|
||||
`toolbox list {{[-c|--containers]}}`
|
||||
|
||||
- List only `toolbox` images:
|
||||
|
||||
`toolbox list --images`
|
||||
`toolbox list {{[-i|--images]}}`
|
||||
|
|
|
@ -10,8 +10,8 @@
|
|||
|
||||
- Remove all `toolbox` containers:
|
||||
|
||||
`toolbox rm --all`
|
||||
`toolbox rm {{[-a|--all]}}`
|
||||
|
||||
- Force the removal of a currently active `toolbox` container:
|
||||
|
||||
`toolbox rm --force {{container_name}}`
|
||||
`toolbox rm {{[-f|--force]}} {{container_name}}`
|
||||
|
|
|
@ -10,8 +10,8 @@
|
|||
|
||||
- Remove all `toolbox` images:
|
||||
|
||||
`toolbox rmi --all`
|
||||
`toolbox rmi {{[-a|--all]}}`
|
||||
|
||||
- Force the removal of a `toolbox` image which is currently being used by a container (the container will be removed as well):
|
||||
|
||||
`toolbox rmi --force {{image_name}}`
|
||||
`toolbox rmi {{[-f|--force]}} {{image_name}}`
|
||||
|
|
|
@ -6,12 +6,12 @@
|
|||
|
||||
- Run a command inside a specific `toolbox` container:
|
||||
|
||||
`toolbox run --container {{container_name}} {{command}}`
|
||||
`toolbox run {{[-c|--container]}} {{container_name}} {{command}}`
|
||||
|
||||
- Run a command inside a `toolbox` container for a specific release of a distribution:
|
||||
|
||||
`toolbox run --distro {{distribution}} --release {{release}} {{command}}`
|
||||
`toolbox run {{[-d|--distro]}} {{distribution}} {{[-r|--release]}} {{release}} {{command}}`
|
||||
|
||||
- Run `emacs` inside a `toolbox` container using the default image for Fedora 39:
|
||||
|
||||
`toolbox run --distro {{fedora}} --release {{f39}} {{emacs}}`
|
||||
`toolbox run {{[-d|--distro]}} {{fedora}} {{[-r|--release]}} {{f39}} {{emacs}}`
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
|
||||
- Display help:
|
||||
|
||||
`toolbox --help`
|
||||
`toolbox {{[-h|--help]}}`
|
||||
|
||||
- Display version:
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue