#![recursion_limit = "1024"]
#[macro_use]
extern crate log;
extern crate env_logger;
extern crate assertables;
#[macro_use] pub(crate) mod types;
pub(crate) mod testing;
pub(crate) mod app { pub(crate) mod args; pub(crate) mod clap; pub(crate) mod config; pub(crate) mod confy; pub(crate) mod run; }
pub(crate) mod f { pub(crate) mod from_html_str_into_headline_str; pub(crate) mod from_list_pathable_string_into_list_path_buf; pub(crate) mod from_list_str_into_map_string_string; pub(crate) mod from_input_dir_and_output_dir_into_map; pub(crate) mod from_input_path_buf_and_output_path_buf_into_map; pub(crate) mod from_path_buf_into_sibling_extension; pub(crate) mod from_pathable_string_into_list_path_buf; pub(crate) mod from_set_pathable_string_into_set_path_buf; pub(crate) mod remove_file_if_exists;
pub(crate) mod vet_input_file_path_buf_exists; pub(crate) mod vet_input_file_path_buf_metadata; pub(crate) mod walkdir_prefer_iter;
pub(crate) mod walkdir_dir_entry_first_with_expect;
pub(crate) mod walkdir_dir_entry_is_in_extension_set; pub(crate) mod walkdir_dir_entry_is_visible;
}
pub(crate) mod markdown {
pub(crate) mod markdown_parser;
}
pub(crate) mod matter {
pub(crate) mod matter_parser_mutex;
pub(crate) mod matter_parser_trait;
pub(crate) mod matter_parser_with_html;
pub(crate) mod matter_parser_with_json;
pub(crate) mod matter_parser_with_markdown_comments;
pub(crate) mod matter_parser_with_toml;
pub(crate) mod matter_parser_with_yaml;
}
pub(crate) mod rewriting {
pub(crate) mod lol;
}
pub(crate) mod state {
pub(crate) mod state_enum;
pub(crate) mod state_trait;
pub(crate) mod state_with_map;
pub(crate) mod state_with_json;
pub(crate) mod state_with_toml;
pub(crate) mod state_with_yaml;
}
pub(crate) mod templating {
pub(crate) mod serde;
pub(crate) mod tags;
}
pub(crate) mod templater {
pub(crate) mod templater_trait;
pub(crate) mod templater_with_handlebars;
}
fn main() {
env_logger::init();
match crate::app::run::run() {
Ok(()) => {
std::process::exit(0);
}
Err(err) => {
error!("{:?}", err);
std::process::exit(1);
}
}
}