commandlineparser / commandlineparser/commandline

Usage of noun and verb with further parameters

Offen
#932 1 Kommentar 2 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
C#
Sterne
4.8k
Forks
478
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

Hi,
Is it possible to use CommandLineParser with **noun** and **verb** syntax? I would like to setup a command line tool, which supports different **nouns** (in CommandLineParser terminology, this would be a **verb**)

As example:
- Myapp.exe tpm init -v ....
- Myapp.exe tpm show -v -l ....
- MyApp.exe dongle show -l ....
In the example above I have two levels of verbs, in the first level the **noun** and in the second level the **verb**.

Is this possible out-of-the-box? If not, are there ways to implement this?

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.