commandlineparser / commandlineparser/commandline
Usage of noun and verb with further parameters
- Dominant language
- C#
- Stars
- 4.8k
- Forks
- 478
- PR merge metrics
- No merged PRs in 30d
Description
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?
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reviewing CommandLineParser's existing noun/verb documentation and examples, then compare them with the requested two-level commands such as `tpm init` and `dongle show`. Determine whether nested noun-and-verb parsing is already supported; done should be a documented answer or a clearly scoped feature proposal if it is not.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100