usage

package
v0.0.0-...-2a3d9f8 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2024 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Overview

Package usage provides for returning usage messages including interacting with the user on the command line.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func QueryUser

func QueryUser(prompt, noResponse string) bool

func Replace

func Replace(msg string, values ...string) string

Replace accepts a string and an arbitrary number of additional string parameters. It replaces {N} in the string with the Nth additional string.

func Usage

func Usage(msg string, values ...string) error

Usage returns an error version of the Replace string

func Wait

func Wait()

Types

This section is empty.

Jump to

Keyboard shortcuts

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