Command line source
Location: main sources module.
CommandLineSource converts CLI arguments into settings nodes.
It supports 7 syntax options for key-value parameters:
--key=value
--key value
-key=value
-key value
/key=value
/key value
key=value
Keys with dots (such as a.b.c
) are treated as hierarchical and get split into segments:
Multiple occurrences of the same key are merged into arrays.
This source is static and never issues data updates.
Default keys and values
Standalone keys may optionally be supplied with a default value.
Standalone values may optionally be grouped under default key.
Related pages
Last updated
Was this helpful?