-
Notifications
You must be signed in to change notification settings - Fork 1.3k
feat(gitpod-cli): Create gp info
command
#13537
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
Conversation
gp info
command
Could we update the release notes to be more user-focused? e.g. Gitpod CLI: Added new cmd (feel free to update it, it's just an example, what I'd like is to provide more context on what the cmd does at a glance, for someone who is reading the release notes) |
}, nil | ||
} | ||
|
||
func outputInfo(info *infoData) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I liked this formatting style. It looks neater compared to a regular table, I think we should consider it for gp top
as well!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
when we extended the top
cmd to include the workspace class, I wasn't convinced by the layout of mixing table + plain text, it would be nice to make class feel more part of the output. However, now we also have gp info
so maybe we don't need class in gp top
? I think if you open a draft PR we can collect feedback in there :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good idea of moving the class to the table, raised a draft PR here: #13607
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice addition! Thank you 🙏
/hold in case you want to update the release notes
|
😅 |
I think it might be, not 100% sure |
@WVerlaek it for sure will! These release notes only get fetched when we generate the changelog, so you can tweak them around post-merge 🙂 |
@filiptronicek awesome! updated |
@WVerlaek: Adding the "do-not-merge/release-note-label-needed" label because no release-note block was detected, please follow our release note process to remove it. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
@WVerlaek removed release notes, as a manual key highlight was created to replace it 🚀 |
Description
Adds a
gp info
command, to print workspace details. For now, this includes:The intention is for this to replace the use of the matching environment variables (see #10797 for more details).
Includes a
--json
flag to print as JSON, allowing e.g. for parsing the output in scripts.Related Issue(s)
Fixes #10797
How to test
Release Notes
Documentation
Werft options:
If enabled this will build
install/preview
Valid options are
all
,workspace
,webapp
,ide