cmdutil

package
v0.0.494-pre-2 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsCygwinTerminal added in v0.0.218

func IsCygwinTerminal(f *os.File) bool

func IsTerminal added in v0.0.218

func IsTerminal(f *os.File) bool

func ParseKVStringsToMap

func ParseKVStringsToMap(args []string) (map[string]string, error)

ParseKVStringsToMap converts a slice of NAME=VALUE strings into a map[string]string

func StripANSI added in v0.0.234

func StripANSI(str string) string

func WorkingDirFromArg

func WorkingDirFromArg(args []string, indexPosition int) (wd string, err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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