Skip to content

Consider allowing arrays to be bound to list options. #1097

@imbriaco

Description

@imbriaco

Command options can be of type list which means that they can either be specified multiple times or can be passed a comma separated string in order to set more than one value for the option.

In practice that means we write commands like the following, which are equivalent:

imbriaco:optdebug -l foo1 -l foo2 -l foo3 ...
imbriaco:optdebug -l foo1,foo2,foo3 ...

It would be nice if you could also directly bind an array, e.g.

seed '{ "foo": [ "foo1", "foo2", "foo3" ]}' | imbriaco:optdebug -l $foo env

Attempting this currently results in this:

slack - operable 2016-10-26 12-04-40

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions