cmdruntime

package
v0.10.257 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

Package cmdruntime contains shared command runtime helpers.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfigPath

func ConfigPath(opts *root.Options) (string, error)

ConfigPath resolves the active config path from root options.

func MapRunError

func MapRunError(err error) error

MapRunError maps lower-level runtime errors to CLI exit-code wrappers.

func MissingResponderError

func MissingResponderError() error

MissingResponderError reports that a command runtime cannot execute response runs.

func ReadOptionalSecretIngress added in v0.10.231

func ReadOptionalSecretIngress(r io.Reader, stdin bool, envVar, stdinFlag, envFlag string) (string, bool, error)

ReadOptionalSecretIngress reads an optional secret from stdin or an environment variable.

func ReadSecretIngress added in v0.10.231

func ReadSecretIngress(r io.Reader, stdin bool, envVar, stdinFlag, envFlag string) (string, error)

ReadSecretIngress reads a required secret from stdin or an environment variable.

Types

This section is empty.

Jump to

Keyboard shortcuts

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