This repository has been archived on 2023-03-26. You can view files and clone it, but cannot push or open issues or pull requests.
md-pdf-rs/src/main.rs

20 lines
305 B
Rust
Raw Normal View History

2017-07-17 09:52:22 +01:00
#[macro_use] extern crate clap;
#[macro_use] extern crate serde_derive;
extern crate serde_yaml;
2017-07-12 14:01:52 +01:00
mod args;
2017-07-17 09:52:22 +01:00
mod config;
2017-07-12 14:01:52 +01:00
2017-07-12 14:40:25 +01:00
#[cfg(test)]
mod tests;
2017-07-01 21:10:25 +01:00
fn main() {
2017-07-17 10:02:58 +01:00
let args = args::get_matches();
if args.subcommand_name().unwrap() == "build" {
2017-07-18 09:20:39 +01:00
println!("{:?}", config::get_config());
2017-07-17 10:02:58 +01:00
}
2017-07-01 21:10:25 +01:00
}
2017-07-18 09:20:39 +01:00