Skip to content
Simon Cahill edited this page Apr 19, 2023 · 6 revisions

FAQs

  • Does this library work with VB.Net?

Yes, it does!
You can checkout the reference implementation here!

  • Is there a reference implementation?

Yes, here!

  • Can I use getopt.net in my commercial application?

Yes, in accordance with the BSD 3-clause license, you may use getopt.net in your commercial application.

  • Is this library cross platform?

Yes, getopt.net has no internal dependencies, other than .net. It runs flawlessly on Windows, macOS and Linux. The tests here in the GitHub Workflows run on Ubuntu.

  • Can I disable all exceptions for a true-getopt-like feeling?

Beginning with v0.5.1 yes, you can set AllExceptionsDisabled = true and this will disable all exceptions thrown by GetOpt.
The same goes for enabling all exceptions. If you want exceptions to be thrown with each error, set AllExceptionsDisabled = false.
For more control, please use the IgnoreXXX properties in the GetOpt class.

  • Does getopt.net support Powershell-style arguments?

Beginning with v0.7.0 yes! Powershell-style arguments are an addition which can be optionally enabled. Using Powershell-style arguments does not impact detection of short options!

Clone this wiki locally