You know the feeling. You need a specific input from your command line, but you can’t find something lightweight that does the job. Hence, the FDC.CommandLine was born.
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
You can use – / or + as a switch, and use : or = as a flag for parameters.
You can use single and double quotes to be able to parse parameters that contain spaces and quotes.
/quoteoftheday:”This is a ‘quoted’ parameter”
It also supports lists of parameters.
/inputfiles:(file1.txt , “file with space.txt”)
Take a look at the TestFDCCommandLine.dpr for more examples of how it works.Continue reading “Generic Command Line Parser for Delphi 10.3.x”