8000 devspace/docs/pages/_partials/command_is_command.mdx at main · devspace-sh/devspace · GitHub
[go: up one dir, main page]

Skip to content

Latest commit

 

History

History
20 lines (15 loc) · 268 Bytes

File metadata and controls

20 lines (15 loc) · 268 Bytes

The function is_command checks if a given argument is a command in DevSpace.

Arguments

[DevSpace command]

is_command [command]

Example

pipelines:
  dev:
    run: |-
      if is_command dev; then
        start_dev --all
      fi
0