Skip to content

Support more literal types (such as lists) as values for the option argument #410

@midas0441

Description

@midas0441

Please fill out these Check-boxes

  • I checked for existing similar feature requests
  • I have read the docs and checked that the feature I am requesting is not already implemented
  • My feature request consists of only one feature

Is your Feature Request related to a Problem or Annoyance?

No response

Describe the Feature you'd like

I would like to provide lists ([item1, item2, item3]) as an option. I tried to use option('[item1, item2, item3]'), but the YAML variable is assigned the value "[item1, item2, item3]". I don't want the double-quotes. I'd like the list [item1, item2, item3] to be assigned to the YAML variable. I'm aware of multiSelect but for a variety of reasons, I don't want to build the list by selecting items 1, 2 and 3 individually from a list of options. One reason is that another option is [item3, item4] and another is [item1, item3]. So you see, I have pre-defined lists that I'd like to provide as options to choose from.

Alternatives

No response

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions