render

package
v0.6.2 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExtractTitle

func ExtractTitle(obj map[string]interface{}) string

ExtractTitle extracts a readable title from a Notion page or database object.

func Field

func Field(key, value string)

Field prints a key-value pair.

func IsTTY

func IsTTY() bool

IsTTY returns true if stdout is a terminal.

func JSON

func JSON(data interface{}) error

JSON outputs data as formatted JSON.

func Separator

func Separator()

Separator prints a horizontal line.

func Subtitle

func Subtitle(text string)

Subtitle prints a dimmed subtitle.

func Table

func Table(headers []string, rows [][]string)

Table prints rows in aligned columns.

func Title

func Title(icon, text string)

Title prints a styled title.

Types

This section is empty.

Jump to

Keyboard shortcuts

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