alex / alex/vcs-translator

Variable length arguments

Offen
#11 2 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Python
Sterne
25
Forks
6
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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?

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.