make GetFlagString() process the default value, not Cobra
since the dateFormat / --date has a default set to dd-mm-yyy, the GetFlagString() function does not ever attempt reading the value from the config file.
Now every GetFlagString() invocation explicitly lists the default values, like GetFlagInt() does, hence one can set the date format in the config file.
Original PR here: https://github.com/KonradIT/mmt/pull/127
make GetFlagString() process the default value, not Cobra
since the dateFormat / --date has a default set to dd-mm-yyy, the GetFlagString() function does not ever attempt reading the value from the config file.
Now every GetFlagString() invocation explicitly lists the default values, like GetFlagInt() does, hence one can set the date format in the config file.
Type:
Camera:
Component:
Checklist before approval: