[][src]Function dia_args::paths::get_path

pub fn get_path<S>(
    args: &Args,
    keys: &[S],
    kind: PathKind,
    option: TakeOption
) -> Result<Option<PathBuf>> where
    S: AsRef<str>, 

Gets a path from arguments

Notes

Error messages are hard-coded. If you want to handle errors, you can get error kinds.