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

Ookii.CommandLine.Snippets

Sven Groot

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

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

  • clargclass: Creates an arguments class.
  • clarg: Creates a property for a command line argument.
  • clargpos: Creates a property for a positional command line argument.
  • clargreq: Creates a property for a required positional command line argument (C# only).
  • 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, except as noted.

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

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft