I would like to implement the process of receiving command line arguments in VB.NET.
Environment.GetCommandLineArgs
to examine the arguments one by one.
Is there a way to write command line processing more concisely? Please let me know if there is a class that summarizes command line processing like the Getopt module in Perl.
vb.net getopt
I don't think there's anything in the standard library that parses the command-line options yet (although it once appeared in CTP by mistake).
However, some libraries have been created voluntarily, including the .NET version of GetOpt.
GetOpt series
Codeplex has GnuGetOpt.Net, and you can also search nuGet to find some.
NDesk.options/Mono.Options
NDesk options is also used in Mono (source - Authors may also have jpyor installed (from ).It doesn't seem to be the author himself.)
If you look at the background, you will hear about Perl's GetOpt, so it's worth a look.
Other
Other than that, if you search nuGet and Command Line Parser, you'll find some, so you'd better use one that suits your needs.
GetOpt series Codeplex has GnuGetOpt.Net, and you can also search nuGet to find some.
NDesk.options/Mono.Options
NDesk options is also used in Mono (source - Authors may also have jpyor installed (from ).It doesn't seem to be the author himself.)
If you look at the background, you will hear about Perl's GetOpt, so it's worth a look.
Other
Other than that, if you search nuGet and Command Line Parser, you'll find some, so you'd better use one that suits your needs.
607 Uncaught (inpromise) Error on Electron: An object could not be cloned
599 GDB gets version error when attempting to debug with the Presense SDK (IDE)
568 Who developed the "avformat-59.dll" that comes with FFmpeg?
886 When building Fast API+Uvicorn environment with PyInstaller, console=False results in an error
© 2024 OneMinuteCode. All rights reserved.