Param / RawParam
Parsing customization API works with Param/RawParam struct under the hood which is publicly available for usage.
Param is a template struct parametrized by VALUE_TYPE (see below) which is usually a string[] or a type of destination data member.
Param struct has the following fields:
const(Config)*config- The content is the same as theConfigobject that was passed into CLI API.stringname– For named argument, it contains a name that is specified in command line exactly including prefix(es) (Config.shortNamePrefix/Config.longNamePrefix). For positional arguments, it contains placeholder value.VALUE_TYPEvalue– Argument values that are provided in command line.
Last modified: 24 October 2025