Skip to content

Consider allowing individual '--vars' via the command line instead of requiring a file #439

Closed
@mkobit

Description

Some shells don't have process substitution, and environment variables can't be structured as easily when you want to pass in multiple inputs. It could be useful to pass in --vars without modifying a file for adhoc testing, or for just running things without requiring a vars file at all.

A possible example

goss --var ip.addr='[1.1.1.1, 2.2.2.2]' validate

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions