Skip to content

Easy argument parsing for .Net applications. Handles options (arguments with parameters) and flags (simple switches), with the facility to show automatically generated usage details and errors. Compatible with NetStandard 2.0 for use in Core 3 or later (tested to Net 8).

License

Notifications You must be signed in to change notification settings

kcartlidge/ArgsParser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ArgsParser

Easy argument parsing for .Net Core applications.

  • Use the main args or any other string array
  • Enforce named required options (with values)
  • Supports named optional options (with values)
  • Supports named optional flags
  • Renders info on supported flags/options
  • Parsing generates simple collections of options and flags
  • Provides a collection of error messages
    • Missing required options
    • Unknown flags or options
    • Values not attached to options

Copyright K Cartlidge 2020. Licensed as GNU AGPLv3.

See the CHANGELOG for current status.

About

Easy argument parsing for .Net applications. Handles options (arguments with parameters) and flags (simple switches), with the facility to show automatically generated usage details and errors. Compatible with NetStandard 2.0 for use in Core 3 or later (tested to Net 8).

Topics

Resources

License

Stars

Watchers

Forks

Languages