Skip to content

Flag constructor arguments order isn't consistent with Option #35

Closed
@robertjpayne

Description

@robertjpayne

The Flag constructor takes default as the last argument where as Option takes it as the second argument.

When using both in a single command it's a bit weird to have:

Flag("web", description: "Whether or not to search the web", default: false),
Option("remote", "cocoapods.org", description: "Custom remote host"),

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions