kind

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Kind

type Kind string

Kind represents the type of shell.

const (
	Bash Kind = "bash"
	Zsh  Kind = "zsh"
	Dash Kind = "dash"
	Fish Kind = "fish"
)

Define constants for ShellKind here, based on your needs, e.g., Bash, Zsh, etc.

func ShellKindFromString

func ShellKindFromString(name string) (Kind, bool)

ShellKindFromString tries to match a string to a shell Kind.

Jump to

Keyboard shortcuts

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