Crate gix_prompt

source ·
Expand description

Git style prompting with support for GIT_ASKPASS and askpass program configuration.

§Compatibility

This is a unix-only crate which will return with an error when trying to obtain any prompt on other platforms. On those platforms it is common to have helpers which perform this task so it shouldn’t be a problem.

Modules§

Structs§

  • The options used in [ask()].

Enums§

Functions§

  • Ask the user given a prompt, returning the result.
  • Ask for information typed by the user into the terminal after showing the prompt, like "Username: .
  • Ask for information securely after showing the prompt (like "password: ") by not showing what’s typed.