-
Notifications
You must be signed in to change notification settings - Fork 232
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
kpt pkg tree
visualization of package hierarchy
#1622
Comments
@frankfarzan Here is the PR. kubernetes-sigs/kustomize#3759 |
So the reason why the Kptfile is included in the output, it that it provides a way for users to see the package hierarchy with the I'm also not certain if we need to address this in the |
@mortent There is Pkg: prefix for folders which are packages. Please refer to tests in the PR. This helps users to know the package hierarchy. |
Ack. I had forgotten that we also use the Pkg prefix. |
Couple of issue with current formatting:
Here's is what I think is a reasonable UX for now:
Changes:
I think eventually, we should also provide view that only shows the package hierarchy:
|
kpt pkg tree
should not render Kptfile as a regular filekpt pkg tree
highlight package hierarchy
kpt pkg tree
highlight package hierarchykpt pkg tree
visualization of package hierarchy
Kptfile is rendered like a regular file which makes the output less readable.
The text was updated successfully, but these errors were encountered: