Documentation
¶
Overview ¶
Package putils cmd/skywire-cli/cliutil/putils/putils.go c5-cli-util
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TreeFromLeveledList ¶
func TreeFromLeveledList(items pterm.LeveledList) pterm.TreeNode
TreeFromLeveledList converts a LeveledList into a nested TreeNode, matching putils.TreeFromLeveledList: the first item is expected at level 0 and becomes a child of the returned root; deeper levels nest under the nearest shallower predecessor (jumps clamp to parent+1).
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.