Skip to content
| Marketplace
Sign in
Visual Studio>Tools>Ookii.CommandLine.Snippets

Ookii.CommandLine.Snippets

Sven Groot

|
42 installs
| (0) | Free
Code snippets for defining and parsing command line arguments using the Ookii.CommandLine library (version 3.0 or later). Supports C# and Visual Basic.

This extension provides several code snippets for use with the Ookii.CommandLine command line argument parsing library:

  • clargclass: Creates an arguments class, including a static Parse method that parses arguments.
  • clarg: Creates a property for a command line argument.
  • clargpos: Creates a property for a positional and optionally required command line argument.
  • clargmulti: Creates a property for a multi-value command line argument.
  • clargdict: Creates a property for a dictionary command line argument.
  • clargswitch: Creates a property for a switch argument.
  • clcmd: Creates a subcommand class.
  • clcmdasync: Creates an asynchronous subcommand class.

All snippets are provided for C# and Visual Basic.

This version of the snippets is only intended for use with Ookii.CommandLine 3.0. Some of the snippets may not be correct for older versions.

  • Contact us
  • Jobs
  • Privacy
  • Terms of use
  • Trademarks
© 2023 Microsoft