On 23/11/2020 1:26 pm, James Richters via fpc-pascal wrote:
> Any Ideas on how this, or some of it could be accomplished? Or is it all
> completely impossible?
If the object that you are trying to output has RTTI enabled, then maybe
you could query everything you need via TypeInfo (or the new re
I was working on one of my projects and doing some tedious output to the
console and now that I have this idea in my head that this could be more
automated, I thought that this task should be automated as well.. not sure if
it's something that belongs in Graeme's Help Output package, but it's on
On 20/11/2020 6:51 pm, Bart via fpc-pascal wrote:
> I know, and there he can see how this capability is detected, hence my
> reference to the compiler.
Thanks, that's good to know. I'll definitely give it a try too.
Regards,
Graeme
___
fpc-pascal mai
On Fri, Nov 20, 2020 at 7:21 PM Sven Barth via fpc-pascal
wrote:
>> You know that fpc trunk now supports coloured output of the compiler
>> (messages)?
>
>
> Only on *nix and those versions of Windows 10 that support VT100 codes.
>
I know, and there he can see how this capability is detected, h
Bart via fpc-pascal schrieb am Fr., 20.
Nov. 2020, 19:11:
> On Fri, Nov 20, 2020 at 4:38 PM Graeme Geldenhuys via fpc-pascal
> wrote:
>
> > We often have color output and
> > full Unicode support - so we can output color and emojis to highlight
> certain success
> > or error states in the output
Hi,
I also have a similar library for that purpose:
https://github.com/AmirAavani/my-units/blob/master/General-Purpose-Units/ParameterManagerUnit.pp
This library expects "ValidArguments.inc" file whose content is like the
following:
ValidArgumentsInfo : array of AnsiString = ('--InputFile:A
On Fri, Nov 20, 2020 at 4:38 PM Graeme Geldenhuys via fpc-pascal
wrote:
> We often have color output and
> full Unicode support - so we can output color and emojis to highlight certain
> success
> or error states in the output. It would be nice to incorporate that into
> command
> line help out
On 20/11/2020 1:29 pm, James Richters via fpc-pascal wrote:
> so as you can see, my #1 item in my wish list is the ability to assign colors,
Some good examples there. :-) I wouldn't want to guess how long it takes to
create
those boxed versions. Wow!
At work, our automated CI pipelines run on Li
might be a windows
function as well.
James
-Original Message-
From: fpc-pascal On Behalf Of Graeme
Geldenhuys via fpc-pascal
Sent: Thursday, November 19, 2020 7:33 PM
To: FPC-Pascal users discussions
Cc: Graeme Geldenhuys
Subject: [fpc-pascal] I'm working on automated Help O
Hi,
I also made such a thing:
var optionsreader: TCommandLineReader;
begin
optionsreader := TCommandLineReader.create;
optionsreader.declareFile('file', 'The file to be processed');
optionsreader.addAbbreviation('f');
optionsreader.declareFlag('help', '');
optionsreader.addAbbreviati
On 2020-11-20 09:32, Graeme Geldenhuys via fpc-pascal wrote:
On 20/11/2020 7:04 am, Sven Barth via fpc-pascal wrote:
a way to convert the
option list to TConsoleApplication's argument handling so that one
doesn't
have to declare that twice.
Oh, I really like that idea. I'll make sure to incl
On 20/11/2020 7:04 am, Sven Barth via fpc-pascal wrote:
> a way to convert the
> option list to TConsoleApplication's argument handling so that one doesn't
> have to declare that twice.
Oh, I really like that idea. I'll make sure to include both of those mentioned.
Regards,
Graeme
--
fpGUI T
On Fri, 20 Nov 2020, Sven Barth via fpc-pascal wrote:
Graeme Geldenhuys via fpc-pascal schrieb
am Fr., 20. Nov. 2020, 01:33:
For those console programmers out there... Is there anything in console
help
output that you like or wish you had. That way I could possibly add it and
make this even
Graeme Geldenhuys via fpc-pascal schrieb
am Fr., 20. Nov. 2020, 01:33:
> For those console programmers out there... Is there anything in console
> help
> output that you like or wish you had. That way I could possibly add it and
> make this even more useful to a wider audience.
>
Two things come
Hi,
I'm working on a automated help output writer(s) for console apps.
Thus no more tedious and ugly output when you do: myapp -h
My aims:
* I write a lot of console apps, so this would be very useful to me.
* Ability to swap out the help formatter. It's interface based, so
custom implementa
15 matches
Mail list logo