[][src]Module dishub::util

Module containing various utility functions.

Statics

GITHUB_USER_AGENT

The User-Agent to use when authenticating to the GitHub API.

Functions

mul_str

Create a string consisting of n repetitions of what.

prompt_any_len

Ask the user to input a string of any length after printing a prompt prompting.

prompt_exact_len

Ask the user to input a string of the exact length of desired_len, (re)prompting as necessary.

prompt_multiline

Ask the user to input a multiline string, (re)prompting as necessary.

prompt_nonzero_len

Ask the user to input a string of non-zero length, (re)prompting as necessary.

uppercase_first

Uppercase the first character of the supplied string.