Trait CLI
type_cli
pub trait CLI: Sized { pub fn parse( args: impl Iterator<Item = String> ) -> Result<Parse<Self>, Error>; pub fn process(args: impl Iterator<Item = String>) -> Result<Self, Error> { ... } }
pub fn parse(args: impl Iterator<Item = String>) -> Result<Parse<Self>, Error>
pub fn process(args: impl Iterator<Item = String>) -> Result<Self, Error>