extern crate argonaut; use std::env; use argonaut::{ArgDef, parse, ParseError}; use std::process; fn main() { if let Some(exit_code) = epub_main() { process::exit(exit_code); } } fn create_epub(spec_file: &str, target_path: Option, is_raw_spec: bool) { println!("Creating epub from spec: '{}' (target_path: {:?}, is raw spec?: {})", spec_file, target_path, is_raw_spec); } fn print_spec_template() { println!("