commandlineparser / commandlineparser/commandline

Usage of noun and verb with further parameters

Aperta
#932 1 commento 2 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
C#
Stelle
4.8k
Fork
478
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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?

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.