Ookii.CommandLine icon

Ookii.CommandLine

  n/a
MS-PL   

A library that helps you to parse command line arguments for your applications #Parse command line  #Cmd parser  #Command line parser  #Parser  #Parse  #Cmd  

Description

changelog

Free Download

Ookii.CommandLine is a command prompt utility designed to provide comprehensive command line argument parsing for .Net applications. It allows you to easily define required, optional, positional and named arguments, parse the command line, and generate usage information.

Ookii.CommandLine can be used with any kind of .Net application, whether Console, Windows Forms, or WPF. Although a limited subset of functionality – particularly related around generating usage help text – is geared primarily towards console applications that are invoked from the command prompt, the main command line parsing functionality is usable in any application that needs to process command line arguments.

To define a set of command line arguments, you create a class that will hold their values. The constructor parameters and properties of that class determine the set of arguments that are accepted. Attributes can be used to specify things such as the argument name and whether or not an argument is required, and to specify descriptions used to customize the usage help.

Command line parsing is done in a way that is similar to that used by Windows PowerShell. Each argument has a name, and can be supplied by name on the command line. An argument can also be positional, in which case it can be supplied without the name.

Arguments can be required or optional, and there is support for switch arguments (which don't need a value but are either present or not) and arguments with multiple values. Various aspects of the parsing, such as the argument name prefix (typically a / or a -), can be customized.

What's new in Ookii.CommandLine 2.2:

  • Added support for alternative names (aliases) for command line arguments.
  • An argument’s aliases and default value can be included in the argument description when generating usage.
  • Added code snippets.
Read the full changelog

Ookii.CommandLine 2.2

add to watchlist add to download basket send us an update REPORT
  runs on:
Windows All
  file size:
623 KB
  1 screenshot:
Ookii.CommandLine - Ookii.CommandLine is a command prompt utility designed to provide comprehensive command line argument parsing for .Net applications
  main category:
Programming
  developer:
  visit homepage

IrfanView

With support for a long list of plugins, this minimalistic utility helps you view images, as well as edit and convert them using a built-in batch mode
IrfanView

Zoom Client

The official desktop client for Zoom, the popular video conferencing and collaboration tool used by millions of people worldwide
Zoom Client

7-Zip

An intuitive application with a very good compression ratio that can help you not only create and extract archives, but also test them for errors
7-Zip

4k Video Downloader

Export your favorite YouTube videos and playlists with this intuitive, lightweight program, built to facilitate downloading clips from the popular website
4k Video Downloader

Context Menu Manager

Customize Windows’ original right-click context menu using this free, portable and open-source utility meant to enhance your workflow
Context Menu Manager

Microsoft Teams

Effortlessly chat, collaborate on projects, and transfer files within a business-like environment by employing this Microsoft-vetted application
Microsoft Teams

ShareX

Capture your screen, create GIFs, and record videos through this versatile solution that includes various other amenities: an OCR scanner, image uploader, URL shortener, and much more
ShareX

Windows Sandbox Launcher

Set up the Windows Sandbox parameters to your specific requirements, with this dedicated launcher that features advanced parametrization
Windows Sandbox Launcher

calibre

Effortlessly keep your e-book library thoroughly organized with the help of the numerous features offered by this efficient and capable manager
calibre

Bitdefender Antivirus Free

Feather-light and free antivirus solution from renowned developer that keeps the PC protected at all times from malware without requiring user configuration
Bitdefender Antivirus Free

% discount
Windows Sandbox Launcher
  • Windows Sandbox Launcher
  • calibre
  • Bitdefender Antivirus Free
  • IrfanView
  • Zoom Client
  • 7-Zip
  • 4k Video Downloader
  • Context Menu Manager
  • Microsoft Teams
  • ShareX
essentials


Click to load comments
This enables Disqus, Inc. to process some of your data. Disqus privacy policy