commandlineparser / commandlineparser/commandline

Interactivity & Parent-Child Commands

Offen
#654 8 Kommentare 1 Reaktion 0 zugewiesene Personen Auf GitHub ansehen
question
Vorherrschende Sprache
C#
Sterne
4.8k
Forks
478
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

I want to build a command line where the user should be able to run a parent command like 1. And the commands 2 and 3 should also have access to argument values of command 1.
1. GetAnimal -Name "a" -Age "b"
2. GetDog -Breed "c"
3. GetCat -Color "d"

I was wondering if _commandline_ supports interactivity (users should be able to run multiple child commands after running the parent command until they exit), and parent-child structure described above.

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.