tree
Display resources, files and packages in a tree structure.
tree displays resources, files and packages in a tree structure.
Synopsis #
kpt pkg tree [DIR]
Args #
DIR:
Path to a local package directory. Defaults to the current directory.
Displays KRM resources with their Kind and Name, and non-KRM text files
as plain filenames. Dotfiles and symlinks are excluded.
Examples #
# Show resources in the current directory.
$ kpt pkg tree
Last modified July 20, 2026: Use custom usage template to avoid duplicate flag info in help output (425fda2a)