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-output
equals "yaml", some functions are called, like turning yaml mode on. The simplest example would be to do the same for json ifkubel-output
is "json". There could potentially also be a way of having users supply a function that's called for eachkubel-output
option when an operation completes.