-
Notifications
You must be signed in to change notification settings - Fork 135
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement tink-cli describe command #426
Comments
I'm going to grab and work on this. |
@gianarb how do we want to make it look like the output of a |
I think we should do similar to what Kubernetes does and at the end, we
should print:
Events:
# event1
# event2
# event3
To be honest, I don't have a clear answer for how the visualization should
look like, so I am open for suggestion!
…On Fri, Feb 5, 2021 at 2:41 PM Salvatore Mazzarino ***@***.***> wrote:
@gianarb <https://github.com/gianarb> how do we want to make it look like
the output of a describe in the "human" format whenshow-events flag is
set to True?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#426 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAMOAOZ6AJPXNXHPWCRMN2TS5PYPVANCNFSM4WVEU5CQ>
.
|
My suggestion here is to leave behind the table format for the |
I agree 100%, avoid any use of table!! |
@mazzy89 - are you still working on this? I think it would be a great addition to Tinkerbell. |
closed by #654 |
As part of #425 #406, we would like to have a
describe
command.Similar requirements as #425
cmd/tink-cli/command/describe
package and it should follow the same structure we have forget
, and I meanOptions
if necessary for exampleUse case
The
get
command can be used to quickly discover resources but describe will show a single one AND it will work as a troubleshooting tool to know everything we can about that specific resource.It will work this way:
It accepts only one ID.
Flags (the one I can think about):
--format
as forget
will switch the format. I think we can use "human" as the default one having as alternative JSON and YAML.--show-events=true
: If true, display events related to the described object. (directly from kubectl)I am gonna describe the output with something that looks like JSON only for my simplicity:
The text was updated successfully, but these errors were encountered: