On 01/13/2018 07:28 PM, Darius Blaszyk wrote:

not specific to CLI apps but are you, perhaps, thinking of CheckOptions and 
HasOption?

No I do not look for commandline handling. Rather a CLI interaction library.
Which allows to interact with the application during runtime. Similar to how
sphinx-quickstart works for instance.

oh, sorry... i misunderstood... i'm not aware of anything like that, really... i think most folks have a general YesNo routine that returns some value which they then use to determine which way the code flows... other commands might be validated by a CheckCMD routine which may then pass valid options off to a ServiceCMD routine which would then deal with getting the command handled...


--
 NOTE: No off-list assistance is given without prior approval.
       *Please keep mailing list traffic on the list unless*
       *a signed and pre-paid contract is in effect with us.*
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to