Documentation
¶
Overview ¶
Package pterm cmd/skywire-cli/cliutil/pterm/pterm_native.go c5-cli-util
Shadow of github.com/pterm/pterm exposing exactly the surface the skywire CLI uses. Command code imports THIS package with the same package name, so call sites are byte-identical; on native builds everything aliases the real pterm, and on js/wasm (pterm's keyboard dependency has no js support) a plain-ANSI implementation stands in (pterm_js.go). Add aliases here — and a js twin there — when a command needs more of pterm.
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( Red = pterm.Red Green = pterm.Green Blue = pterm.Blue Cyan = pterm.Cyan Magenta = pterm.Magenta Yellow = pterm.Yellow White = pterm.White Black = pterm.Black )
Sprint-style color functions.
Background styles (value.Sprint(...) usage).
var DefaultTree = pterm.DefaultTree
DefaultTree is pterm.DefaultTree.
var Println = pterm.Println
Println mirrors pterm.Println.
Functions ¶
This section is empty.
Types ¶
type LeveledListItem ¶
type LeveledListItem = pterm.LeveledListItem
LeveledListItem is pterm.LeveledListItem.