shell

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Command added in v0.1.3

func Command(shell string) (bin string, args []string)

Command returns the command prefix for executing a string in the detected shell.

Types

type Info

type Info struct {
	OS      string
	Shell   string
	Version string
}

func Detect

func Detect() Info

Jump to

Keyboard shortcuts

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