dataform icon indicating copy to clipboard operation
dataform copied to clipboard

CLI command (dataform run) --tags flag does not accept a list of tags

Open danieldeleo opened this issue 4 years ago • 4 comments

The CLI help text describes --flags as: "A list of tags to filter the actions to run. [array]"

Currently the only method that works for supplying multiple tags to the --tags flag is to specify the option multiple times: --tags value1 --tags value2

The following methods do not currently work for supplying multiple flags: --tags value1 value2 --tags value1,value2

danieldeleo avatar Mar 10 '21 13:03 danieldeleo

This behavior also applies to the --actions flag

The actions flag additionally specifies, Can include '*' wildcards. but this feature does not seem to be working.

danieldeleo avatar Mar 29 '21 15:03 danieldeleo

passing in a flag multiple time is pretty common for cli tools (like for example grep -e )

calling this out so that the multiple option isn't removed but instead --tags val1,val2 is added to the parser; ie: both ways would work

andres-lowrie avatar Sep 26 '23 15:09 andres-lowrie