Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Usage of noun and verb with further parameters #932

Open
ImfeldC opened this issue Jul 22, 2024 · 0 comments
Open

Usage of noun and verb with further parameters #932

ImfeldC opened this issue Jul 22, 2024 · 0 comments

Comments

@ImfeldC
Copy link

ImfeldC commented Jul 22, 2024

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant