You are not logged in.
Pages: 1
For most projects, we want to be able to pass some custom values when starting it.
The command line is then used to add this additional information.
We have ParamStr and ParamCount global functions, enough to retrieve the information. You may also use FindCmdLineSwitch for something more easy to work with.
The Lazarus RTL offers some additional methods like hasOption or getOptionValue or checkOptions in its TCustomApplication class. Their are better, but not so easy to use, and not available on Delphi.
We just committed a new command line parser to our Open Source mORMot 2 framework, which works on both Delphi and FPC, follows both Windows and POSIX/Linux conventions, and has much more features (like automated generation of the help message), in an innovative and easy workflow.
This is the forum discussion thread for the following blog article:
https://blog.synopse.info/?post/2023/04 … n-mORMot-2
Offline
great job! thanks~
Offline
Great job!! Thank you!
We need a blog of your "Angel" implementation and the Letsencrypt status too
Offline
Hi @ab,
Replying here about the issue #183 reported on Github - your commit (38f27f08) fixed the / or - exception.
(Sorry for the time lost about the PR, I feel learning more by doing mistake and trying to fix things, to be honest, I had a doubt it was the right correction as you confirmed it on the PR comment that is making sense, lesson learned )
Offline
Don't be sorry - your remark was correct, and there was indeed a problem with / or - values as parameters.
For the PR, you loose more time than me for sure.
But I am sure the next time we will first discuss here then you will make a perfect PR!
Offline
Pages: 1