Skip to content

Commit

Permalink
fix(cli): fixed alias of --skip-dependencies flag in garden commands
Browse files Browse the repository at this point in the history
  • Loading branch information
vvagaytsev committed Sep 30, 2022
1 parent d966a97 commit 7a329fd
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion core/src/commands/deploy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ export const deployOpts = {
This can be useful e.g. when your stack has already been deployed, and you want to deploy a subset of services in
dev mode without redeploying any service dependencies that may have changed since you last deployed.
`,
alias: "no-deps",
alias: "nodeps",
}),
"forward": new BooleanParameter({
help: deline`Create port forwards and leave process running without watching
Expand Down
2 changes: 1 addition & 1 deletion core/src/commands/test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export const testOpts = {
dependencies without redeploying any service dependencies that may have changed since you last deployed.
Warning: Take great care when using this option in CI, since Garden won't ensure that the runtime dependencies of
your test suites are up to date when this option is used.`,
alias: "no-deps",
alias: "nodeps",
}),
"skip-dependants": new BooleanParameter({
help: deline`
Expand Down
4 changes: 2 additions & 2 deletions docs/reference/commands.md
Original file line number Diff line number Diff line change
Expand Up @@ -698,7 +698,7 @@ Examples:
| `--local-mode` | `-local` | array:string | [EXPERIMENTAL] The name(s) of the service(s) to be started locally with local mode enabled. Use comma as a separator to specify multiple services. Use * to deploy all services with local mode enabled. When this option is used, the command is run in persistent mode.
This always takes the precedence over the dev mode if there are any conflicts, i.e. if the same services are passed to both `--dev` and `--local` options.
| `--skip` | | array:string | The name(s) of services you'd like to skip when deploying.
| `--skip-dependencies` | `-no-deps` | boolean | Deploy the specified services, but don't deploy any additional services that they depend on or run any tasks that they depend on. This option can only be used when a list of service names is passed as CLI arguments. This can be useful e.g. when your stack has already been deployed, and you want to deploy a subset of services in dev mode without redeploying any service dependencies that may have changed since you last deployed.
| `--skip-dependencies` | `-nodeps` | boolean | Deploy the specified services, but don't deploy any additional services that they depend on or run any tasks that they depend on. This option can only be used when a list of service names is passed as CLI arguments. This can be useful e.g. when your stack has already been deployed, and you want to deploy a subset of services in dev mode without redeploying any service dependencies that may have changed since you last deployed.
| `--forward` | | boolean | Create port forwards and leave process running without watching for changes. Ignored if --watch/-w flag is set or when in dev or hot-reload mode.

#### Outputs
Expand Down Expand Up @@ -3493,7 +3493,7 @@ Examples:
| `--force-build` | | boolean | Force rebuild of module(s).
| `--watch` | `-w` | boolean | Watch for changes in module(s) and auto-test.
| `--skip` | | array:string | The name(s) of tests you'd like to skip. Accepts glob patterns (e.g. integ* would skip both 'integ' and 'integration'). Applied after the 'name' filter.
| `--skip-dependencies` | `-no-deps` | boolean | Don't deploy any services or run any tasks that the requested tests depend on. This can be useful e.g. when your stack has already been deployed, and you want to run tests with runtime dependencies without redeploying any service dependencies that may have changed since you last deployed. Warning: Take great care when using this option in CI, since Garden won't ensure that the runtime dependencies of your test suites are up to date when this option is used.
| `--skip-dependencies` | `-nodeps` | boolean | Don't deploy any services or run any tasks that the requested tests depend on. This can be useful e.g. when your stack has already been deployed, and you want to run tests with runtime dependencies without redeploying any service dependencies that may have changed since you last deployed. Warning: Take great care when using this option in CI, since Garden won't ensure that the runtime dependencies of your test suites are up to date when this option is used.
| `--skip-dependants` | | boolean | When using the modules argument, only run tests for those modules (and skip tests in other modules with dependencies on those modules).

#### Outputs
Expand Down

0 comments on commit 7a329fd

Please sign in to comment.