mirror of
https://github.com/ouch-org/ouch.git
synced 2025-06-07 03:55:28 +00:00
Removing unused cli::CommandInfo
This commit is contained in:
parent
95ab1e763b
commit
e1c72a6a6b
@ -23,12 +23,6 @@ pub enum Command {
|
|||||||
ShowVersion,
|
ShowVersion,
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(PartialEq, Eq, Debug)]
|
|
||||||
pub struct CommandInfo {
|
|
||||||
pub command: Command,
|
|
||||||
pub flags: oof::Flags,
|
|
||||||
}
|
|
||||||
|
|
||||||
/// Calls parse_args_and_flags_from using std::env::args_os ( argv )
|
/// Calls parse_args_and_flags_from using std::env::args_os ( argv )
|
||||||
pub fn parse_args() -> crate::Result<ParsedArgs> {
|
pub fn parse_args() -> crate::Result<ParsedArgs> {
|
||||||
let args = env::args_os().skip(1).collect();
|
let args = env::args_os().skip(1).collect();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user