ui

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2023 License: ISC Imports: 5 Imported by: 0

Documentation

Overview

Package ui provides utilities to interact with the user over the command line.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCurrentPassword added in v0.0.4

func GetCurrentPassword(username string) string

GetCurrentPassword reads the current password for `username` from the terminal.

func GetNewPassword added in v0.0.4

func GetNewPassword(username string) string

GetNewPassword reads the new password for `username` from the terminal.

func PrintJSON

func PrintJSON(obj interface{})

PrintJSON pretty-prints JSON to the term.

Types

This section is empty.

Jump to

Keyboard shortcuts

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