Re: [fpc-pascal] Freepascal CLI library

2018-01-14 Thread wkitty42
On 01/14/2018 01:15 PM, Bart wrote: On Sun, Jan 14, 2018 at 6:00 PM, wrote: 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... I used to have a general Prompt(Question: String; Allowed: TCharSet; Def

Re: [fpc-pascal] Freepascal CLI library

2018-01-14 Thread Bart
On Sun, Jan 14, 2018 at 6:00 PM, wrote: > 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... I used to have a general Prompt(Question: String; Allowed: TCharSet; Default: Char; CaseSensitive: Boolean):

Re: [fpc-pascal] Freepascal CLI library

2018-01-14 Thread wkitty42
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 sphin

Re: [fpc-pascal] Freepascal CLI library

2018-01-13 Thread Darius Blaszyk
> 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. Rgds Dariu

Re: [fpc-pascal] Freepascal CLI library

2018-01-13 Thread wkitty42
On 01/13/2018 04:53 PM, Darius Blaszyk wrote: Is there a library available that can handle this kind of input from the command line? Though not difficult to write something from scratch (I already started on it), I feel like this has to be available already. Anyone has a tip for me? not specifi