tui

package
v0.5.4 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2025 License: MPL-2.0 Imports: 21 Imported by: 0

Documentation

Overview

Package tui provides terminal UI components for yapi.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindConfigFileSingle

func FindConfigFileSingle() (string, error)

FindConfigFileSingle prompts the user to select a single config file. Only shows .yapi.yml files, not project config files.

func FindConfigFileSingleIncludingProject added in v0.5.0

func FindConfigFileSingleIncludingProject() (string, error)

FindConfigFileSingleIncludingProject prompts the user to select a single config file. Shows both .yapi.yml files and project config files (yapi.config.yml).

func FindConfigFiles added in v0.5.0

func FindConfigFiles() ([]string, error)

FindConfigFiles returns all git-tracked yapi config files relative to the current directory

func FindConfigFilesIncludingProject added in v0.5.0

func FindConfigFilesIncludingProject() ([]string, error)

FindConfigFilesIncludingProject returns all git-tracked yapi config files including yapi.config.yml

func NewWatchModel

func NewWatchModel(path string) watchModel

NewWatchModel creates a new watch mode TUI model.

func RunWatch

func RunWatch(path string) error

RunWatch starts watch mode TUI for the given config file.

Types

This section is empty.

Directories

Path Synopsis
Package selector provides a TUI file picker component.
Package selector provides a TUI file picker component.
Package theme defines colors and styles for the TUI.
Package theme defines colors and styles for the TUI.

Jump to

Keyboard shortcuts

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