ersatz 0.0.1

Entity-Reaction Systems: analysis, transformation, synthesis
Documentation
use std::error::Error;
use super::{App, Command};

pub struct Describe;

impl Command for Describe {
    fn run(app: &App) -> Result<(), Box<dyn Error>> {
        let main_path = app.value_of("MAIN_PATH")
            .unwrap_or_else(|| unreachable!());

        let verbosity = app.occurrences_of("verbose");

        if verbosity >= 1 {
            println!("{}", main_path);
        }

        Ok(())
    }
}