kubectl-trace icon indicating copy to clipboard operation
kubectl-trace copied to clipboard

Improve printing (flags + impl.)

Open leodido opened this issue 7 years ago • 2 comments

We should add PrintFlags and use them to accordingly implement the printing as kubectl commands do.

leodido avatar Nov 25 '18 15:11 leodido

The goal of this would be to have the option to do things like:

kubectl trace get -o json <trace-id>

OR

kubectl trace get -o yml <trace-id>

OR

kubectl trace get -o table <trace-id>

fntlnz avatar Nov 28 '18 23:11 fntlnz

Exactly. :)

L.

On Thu, Nov 29, 2018 at 12:03 AM Lorenzo Fontana [email protected] wrote:

The goal of this would be to have the option to do things like:

kubectl trace get -o json

OR

kubectl trace get -o yml

OR

kubectl trace get -o table

— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub https://github.com/fntlnz/kubectl-trace/issues/6#issuecomment-442639368, or mute the thread https://github.com/notifications/unsubscribe-auth/AAHU8zXgAGxqbU-Q2zP3PL-5j7iRAvjHks5uzxZdgaJpZM4Yx7a2 .

leodido avatar Nov 28 '18 23:11 leodido