Function wasmer_cli::utils::prompts::prompt_for_namespace

source ยท
pub fn prompt_for_namespace(
    message: &str,
    default: Option<&str>,
    user: Option<&UserWithNamespaces>,
) -> Result<String, Error>
Expand description

Prompt for a namespace.

Will either show a select with all available namespaces based on the user argument, or present a basic text input.

The username will be included as an option.