Help us shape the future of Go! Take the 2026 Go Developer Survey

putils

package
v1.3.104 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 31, 2026 License: AGPL-3.0 Imports: 1 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL