utils

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2023 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FileExists

func FileExists(path string) bool

func GetShellCommandOutput

func GetShellCommandOutput(command string, args ...string) (string, error)

func GetWorkspaceName added in v0.1.0

func GetWorkspaceName() (string, error)

func ReadPromptInput added in v0.1.0

func ReadPromptInput(prompt string, input io.Reader) (string, error)

GetStdIn gets a stdin prompt from user

func RemoveLocalFile

func RemoveLocalFile(zipPath string) error

func Request

func Request(location string) (*http.Response, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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