fcla 0.1.0

Command line argument parsing
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use crate::internal::*;

impl FromArg for std::path::PathBuf {
    type Parent = std::ffi::OsString;
    type Error = Infallible;

    fn from_arg(arg: Self::Parent) -> Result<Self, Self::Error> {
        Ok(arg.into())
    }

    fn box_error(error: Self::Error) -> Box<dyn Error + Send + Sync> {
        match error {}
    }
}