util

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2026 License: BSD-3-Clause, MIT Imports: 1 Imported by: 0

Documentation

Overview

Package util holds small cross-cutting helpers shared by the command layer and the prompt/auth subpackages.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsTTY

func IsTTY() bool

IsTTY reports whether stdin is connected to a terminal. Used to decide whether to run interactive prompts vs. fail with an actionable error in non-interactive contexts (CI, pipes).

Types

This section is empty.

Jump to

Keyboard shortcuts

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