API Reference

Namespaces

DotMake.CommandLine This is the root namespace of this library, it includes the CLI attributes and CLI parser/runner.

The main classes in this namespace are:

  • CliCommandAttribute is the attribute which specifies a class that represents a command which is a specific action that the command line application performs.
  • CliOptionAttribute is the attribute which specifies a class property that represents an option which is a named parameter and a value for that parameter, that is used on the command line.
  • CliArgumentAttribute is the attribute which specifies a class property that represents an argument which is a value that can be passed on the command line to a command or an option.
  • Cli is the class which provides methods for parsing command line input and running an indicated command.