Function server_forge::utils::get_user_input

source ·
pub fn get_user_input() -> Result<Config, Box<dyn Error>>
Expand description

Prompts the user for input to configure the server setup.

This function interactively asks the user for various configuration options and returns a Config struct with the user’s choices.

§Returns

Returns a Result containing the Config struct if successful, or an error if input fails.