Documentation ¶
Overview ¶
Package platform handles platform-specific operations around clipboards.
Package platform handles stdin processing
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConfirmYesNoPrompt ¶
ConfirmYesNoPrompt will ask a yes/no question.
func GetUserInputPassword ¶
GetUserInputPassword will read the user's input from stdin via multiple means.
func IsInputFromPipe ¶
func IsInputFromPipe() bool
IsInputFromPipe will indicate if connected to stdin pipe.
func PathExists ¶
PathExists indicates whether a path exists (true) or not (false)
func ReadInteractivePassword ¶
ReadInteractivePassword will prompt for a single password for unlocking
Types ¶
type Clipboard ¶
type Clipboard struct { MaxTime int // contains filtered or unexported fields }
Clipboard represent system clipboard operations.
func NewClipboard ¶
NewClipboard will retrieve the commands to use for clipboard operations.
Click to show internal directories.
Click to hide internal directories.