Documentation
¶
Index ¶
Constants ¶
View Source
const InstallURL = "https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html"
Variables ¶
View Source
var ErrNotInstalled = errors.New("aws CLI not found in PATH")
Functions ¶
func CheckInstalled ¶ added in v0.13.0
func CheckInstalled() error
func Exec ¶
func Exec(ctx context.Context, endpointURL string, useProfile, usePTY bool, stdout, stderr io.Writer, args []string) error
Exec runs `aws <args...>` against endpointURL. When usePTY is true (lstk's stdout and stderr are both terminals), the child's output goes through a pseudo-terminal merged into stdout — see proc.RunInPTY for why; otherwise stdout/stderr are wired as given.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.