ui

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsTTY

func IsTTY(v any) bool

Types

type Renderer

type Renderer struct {
	Out   io.Writer
	Plain bool
}

Renderer prints either styled or plain output.

func New

func New(out io.Writer) *Renderer

func (*Renderer) Error

func (r *Renderer) Error(message string)

Error prints a styled error.

func (*Renderer) Preview

func (r *Renderer) Preview(forge, repo string, issue adapter.Issue)

Preview shows what would be posted.

func (*Renderer) Result

func (r *Renderer) Result(result adapter.Result)

Result reports the created or existing issue.

Jump to

Keyboard shortcuts

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