priv/prompt

Types

pub type GetLineError {
  Eof
  NoData
}

Constructors

  • Eof
  • NoData

Functions

pub fn confirm(message: String, auto_accept: Bool) -> Bool
pub fn get_line(
  prompt prompt: String,
) -> Result(String, GetLineError)
pub fn value(
  message: String,
  default: String,
  auto_accept: Bool,
) -> String
Search Document