Resolve "Fix setting passthrough and other things in cli/root in every cmd execute"
requested to merge 377-fix-setting-passthrough-and-other-things-in-cli-root-in-every-cmd-execute into master
Description
Since cobra.OnInitalize gets called called every time a command is executed, all the things done in our initConfig function get executed on every cmd execute. Just calling initConfig once when the root cmd gets initiated should be sufficient for our case, because everything we are doing there is supposed to be available/configured package wide anyway. This way, we are not doing any unnecessary setting of config things on every cmd execute.
Related to #377
Edited by Fabian Seidl