Documentation ¶
Index ¶
- func Ask(msg string, isSecret bool) (string, error)
- func AskContinue(msg string) error
- func ClearOsEnv() error
- func CopyToClipBoard(token string) error
- func CreateFile(filePath string, writeData string) error
- func FileExists(filename string) bool
- func FormatKeyForDisplay(k string) string
- func GetKeys(m map[string]string) []string
- func IsExpired(targetDate time.Time, timeAdded time.Duration) bool
- func IsStringInArray(s string, arr []string) bool
- func SetUpLogs(stdErr io.Writer, level string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AskContinue ¶
AskContinue provides interactive terminal for users to answer if they continue process or not
func CopyToClipBoard ¶
CopyToClipBoard copies token to clipboard
func CreateFile ¶
CreateFile creates/overrides files
func FormatKeyForDisplay ¶
FormatKeyForDisplay displays key with masking
func IsStringInArray ¶
Figure out if string is in array
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.