Documentation ¶
Overview ¶
Package cli provides utilities for happy command line interfaces.
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func AskForConfirmation ¶
AskForConfirmation gets (y/Y)es or (n/N)o from cli input.
func AskForInput ¶
func ExecCommand ¶
ExecCommand wraps ExecCommandRaw to return output as string.
func ExecCommandRaw ¶
ExecCommandRaw wraps and executes provided command and returns its CombinedOutput. It ensures that -x flag is taken into account and Command is Session Context aware.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.