Prompts the user to pick a file interactively from the current directory.
Arguments
label- A string slice that holds the prompt label to display to the user.
Returns
std::io::Result<PathBuf>- Returns thePathBufof the selected file.
Examples
Prompts the user to pick a file interactively from the current directory.
label - A string slice that holds the prompt label to display to the user.std::io::Result<PathBuf> - Returns the PathBuf of the selected file.