chore: remove printing debug info to stdout BREAKING CHANGE: stdout now only displays the render configuration and status.
Diff
src/main.rs | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
@@ -19,7 +19,7 @@ const ERR_JOURNAL_NOT_FOUND: &str = "ERROR: No journal data specified.\n\nUsage:
fn main() {
let args: LaunchArgs = LaunchArgs::parse_args_default_or_exit();
println!("{:#?}", args);
let mut jrnl_json: String = String::new();
if let Some(pipe) = read_pipe::read_pipe() {
@@ -31,7 +31,7 @@ fn main() {
}
let journal: Journal = util::journal::parse_journal_json(&jrnl_json);
println!("{:#?}", journal);
let config_data = load_config();
match config_data {
@@ -39,7 +39,7 @@ fn main() {
println!("{:#?}", config_data);
let template_files = util::templating::get_templates(config_data.template.clone());
println!("{:?}", template_files);
let html = util::templating::render_html(config_data, journal, &template_files);