utils

package
v0.0.0-...-b9e087e Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Credentials

func Credentials() (string, string, error)

func InEachRepo

func InEachRepo(dir string, fn func(path string) error) error

func InSlice

func InSlice(files []string, filename string) bool

func OpenBrowser

func OpenBrowser(link string) error

OpenBrowser opens a link in the correct browser depending on OS.

func RepoDir

func RepoDir(workDir, repoURL string) string

func Run

func Run(head string, parts ...string) (string, error)

Run runs a command.

func RunInteractive

func RunInteractive(head string, parts ...string) error

RunInteractive runs a command while attaching to stdout and stderr.

Types

This section is empty.

Jump to

Keyboard shortcuts

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