pub struct Cli {
pub command: String,
pub positional: Vec<String>,
/* private fields */
}Expand description
Parsed command line: subcommand + positional args + --flag value flags.
Deliberately hand-rolled (no new dependencies in V0.1).
Fields§
§command: String§positional: Vec<String>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Cli
impl RefUnwindSafe for Cli
impl Send for Cli
impl Sync for Cli
impl Unpin for Cli
impl UnsafeUnpin for Cli
impl UnwindSafe for Cli
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more