Skip to content

pipeline flags cannot be used if variable with input is used #2237

@FabianKramm

Description

@FabianKramm

What happened?
Pipeline flags are not parsed correctly if variables with input are used in the config, e.g.:

version: v2beta1
name: flags
vars:
  MY_VAR:
    default: test

pipelines:
  dev:
    flags:
    - name: test
      type: bool
    run: |-
      echo "$(get_flag test)"

Running devspace dev --test will result in the error flag --test not found

Metadata

Metadata

Assignees

Labels

kind/bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions