Skip to content

Variable length arguments #11

@lasko

Description

@lasko

Certain commands have a set of flags (sometimes arguments associated to those flags).
How should this be handled?

The options available to "git remote" are pretty large, currently implemented is "git remote -v" and the code associated is passing along a "verbose" flag to the Remote class.

This imposes limitations into the Remote class (as it currently stands it expects the verbose argument). Would it be harmful to utilize kwargs inside of the class init methods?

Thoughts?

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