ecla 1.0.0

Easily build command line apps
Documentation
//! easily build command line apps.
//!
//! # Examples
//! ```
//! use ecla::App;
//!
//! const HELP: &'static str = "This is help message";
//! const VERSION: &'static str = "1.0.0";
//!
//! fn main() {
//!     let app = App::new(HELP, VERSION);
//!     if let Some(command) = app.get_command("test") {
//!         if let Some(flag) = command.get_flag(&["-a", "--all"]) {
//!             println!("You have run subcommand test with flag -a or --all");
//!         } else {
//!             println!("You have run subcommand test with no flag");
//!         }
//!     } else {
//!         app.show_unknown_or_help();
//!     }
//! }
//! ```
#![deny(missing_docs)]

#[macro_use]
extern crate elog;

mod parser;
mod app;
mod command;
mod flag;

pub use app::App;
pub use command::Command;
pub use flag::Flag;


fn show_help_tips() {
    errors!("use option --help to show more information.");
}