2022-11-16 created following the concept idea of the older MainCmd.
The last one may be removed in future.
Why remove MainCmd:
MainCmd combines several aspects which may be implemented in different ways in a application.
In opposite this new class contains only a few obviously properties.
For this source the LGPL Lesser General Public License,
published by the Free Software Foundation is valid.
You can use this source without any restriction for any desired purpose.
You can redistribute copies of this source to everybody.
Every user of this source, also the user of redistribute copies
with or without payment, must accept this license for further using.
But the LPGL is not appropriate for a whole software product,
if this source is only a part of them. It means, the user
must publish this part of source,
but doesn't need to publish the whole source of the own product.
You can study and modify (improve) this source
for own using or for redistribution, but you have to license the
modified sources likewise under this LGPL Lesser General Public License.
You mustn't delete this Copyright/Copyleft inscription in this source file.
If you intent to use this source without publishing its usage, you can get
a second license subscribing a special contract with the author.