Function wasmer_cli::utils::prompts::prompt_for_app_ident
source ยท pub fn prompt_for_app_ident(
message: &str,
default: Option<&str>,
) -> Result<String, Error>
Expand description
Ask a user for an application name.
Will continue looping until the user provides a valid name that contains neither dots nor spaces. Returns an error if there are issues with the input interaction.