In a function like kubel--describe-resource, when kubel-output equals "yaml", some functions are called, like turning yaml mode on. The simplest example would be to do the same for json if kubel-output is "json". There could potentially also be a way of having users supply a function that's called for each kubel-output option when an operation completes.
In a function like
kubel--describe-resource, whenkubel-outputequals "yaml", some functions are called, like turning yaml mode on. The simplest example would be to do the same for json ifkubel-outputis "json". There could potentially also be a way of having users supply a function that's called for eachkubel-outputoption when an operation completes.