pub fn file_for_current_dir<Hint>(hint: Hint) -> io::Result<FileArgParser>
where
    Hint: ToString,
{
    let base = current_dir()?;
    Ok(FileArgParser {
        base,
        hint: hint.to_string(),
    })
}
/// Parses input as a file path.  Works similarly to the [`file()`] constructor,
/// except that `base` is automatically set to the current working directory.
Parses input as a file path.  Works similarly to the [`file()`] constructor,
except that `base` is automatically set to the current working directory.
Parses input as a file path . Works similarly to the [ ` file () ` ] constructor except that ` base ` is automatically set to the current working directory .
pub fn file_for_current_dir<Hint>(hint: Hint) -> io::Result<FileArgParser>
where
    Hint: ToString,
{
    let base = current_dir()?;
    Ok(FileArgParser {
        base,
        hint: hint.to_string(),
    })
}
pub fn file_for_current_dir < Hint > ( hint : Hint ) -> io :: Result < FileArgParser > where Hint : ToString , { let base = current_dir ( ) ? ; Ok ( FileArgParser { base , hint : hint . to_string ( ) , } ) }
Parses input as a file path.
Parses input as a file path .
hint
Hint