util

package
v0.0.0-...-512546c Latest Latest
Warning

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

Go to latest
Published: May 30, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsStdinEmpty

func IsStdinEmpty() bool

IsStdinEmpty returns whether stdin is empty.

func NewInput

func NewInput(title string, bind *string) *huh.Form

func NewText

func NewText(title, extension string, bind *string) *huh.Form

func ReadStdin

func ReadStdin() string

ReadStdin read standard input string

func Show

func Show(s string)

func ShowCode

func ShowCode(code, content string)

func ShowError

func ShowError(err error)

func ShowKVs

func ShowKVs(res ...string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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