deprecate --y, prefer --yes

Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
This commit is contained in:
Nicolas De Loof
2025-03-11 08:03:17 +01:00
committed by Guillaume Lours
parent b23728941d
commit 8615e9a7c1
9 changed files with 39 additions and 10 deletions

View File

@@ -11,7 +11,7 @@ Publish compose application
| `--oci-version` | `string` | | OCI image/artifact specification version (automatically determined by default) |
| `--resolve-image-digests` | `bool` | | Pin image tags to digests |
| `--with-env` | `bool` | | Include environment variables in the published OCI artifact |
| `-y`, `--y` | `bool` | | Assume "yes" as answer to all prompts |
| `-y`, `--yes` | `bool` | | Assume "yes" as answer to all prompts |
<!---MARKER_GEN_END-->

View File

@@ -16,7 +16,7 @@ Creates containers for a service
| `--quiet-pull` | `bool` | | Pull without printing progress information |
| `--remove-orphans` | `bool` | | Remove containers for services not defined in the Compose file |
| `--scale` | `stringArray` | | Scale SERVICE to NUM instances. Overrides the `scale` setting in the Compose file if present. |
| `-y`, `--y` | `bool` | | Assume "yes" as answer to all prompts and run non-interactively |
| `-y`, `--yes` | `bool` | | Assume "yes" as answer to all prompts and run non-interactively |
<!---MARKER_GEN_END-->

View File

@@ -53,7 +53,7 @@ If the process is interrupted using `SIGINT` (ctrl + C) or `SIGTERM`, the contai
| `--wait` | `bool` | | Wait for services to be running\|healthy. Implies detached mode. |
| `--wait-timeout` | `int` | `0` | Maximum duration in seconds to wait for the project to be running\|healthy |
| `-w`, `--watch` | `bool` | | Watch source code and rebuild/refresh containers when files are updated. |
| `-y`, `--y` | `bool` | | Assume "yes" as answer to all prompts and run non-interactively |
| `-y`, `--yes` | `bool` | | Assume "yes" as answer to all prompts and run non-interactively |
<!---MARKER_GEN_END-->

View File

@@ -35,7 +35,7 @@ options:
experimentalcli: false
kubernetes: false
swarm: false
- option: "y"
- option: "yes"
shorthand: "y"
value_type: bool
default_value: "false"

View File

@@ -88,7 +88,7 @@ options:
experimentalcli: false
kubernetes: false
swarm: false
- option: "y"
- option: "yes"
shorthand: "y"
value_type: bool
default_value: "false"

View File

@@ -309,7 +309,7 @@ options:
experimentalcli: false
kubernetes: false
swarm: false
- option: "y"
- option: "yes"
shorthand: "y"
value_type: bool
default_value: "false"