Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Represent list-type options as an array #61

@agis

Description

@agis

Cog supports a list-type option. Right now, if a user does:

!foo --flavor=sour --flavor=sweet

This will result in #opts returning {"flavor_0" => "sour", "flavor_1" => "sweet".

Ideally we should return {"flavor" => ["sour, "sweet"]}.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions