Introduce Commands struct

This commit is contained in:
David Peter authored and David Peter committed 2022-02-06 22:49:04 +01:00
1 parent c5a2266199
commit a6baf49b72
4 files changed
+139 -125

No files matched your search

+1 -1
View File
@@ -2,7 +2,7 @@ use std::ffi::OsString;
use clap::{crate_version, App, AppSettings, Arg, ArgMatches};
pub fn get_arg_matches<'a, I, T>(args: I) -> ArgMatches
pub fn get_cli_arguments<'a, I, T>(args: I) -> ArgMatches
where
I: IntoIterator<Item = T>,
T: Into<OsString> + Clone + 'a,