utils

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2024 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunInCurrentShell

func RunInCurrentShell(command string, args []string) error

Types

type Command added in v0.0.5

type Command struct {
	Command string
	Args    []string
}

func GenerateCommand added in v0.0.5

func GenerateCommand(command string, args []string) Command

type Shell

type Shell struct {
	// contains filtered or unexported fields
}

func CurrentShell

func CurrentShell() (s Shell)

func (Shell) Run

func (s Shell) Run(command string, args []string) error

Jump to

Keyboard shortcuts

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