Skip to content

Usage of noun and verb with further parameters #932

Description

@ImfeldC

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions