1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
//! This module contains the available types of arguments.

mod flag;
mod value;
mod command;
mod argument;
mod metadata;

pub use self::argument::Argument;
pub use self::flag::Flag;
pub use self::value::Value;
pub use self::command::{AbortReason, Command};
pub use self::metadata::Metadata;

/// A trait for structs which could be interpreted as arguments.
pub trait Parsable: Into<Argument<'static>> {}