Detect sections; Unify printing help across the tools

This commit is contained in:
2023-06-25 16:38:29 +02:00
parent 660faeb1a2
commit 5937bbd763
9 changed files with 23 additions and 9 deletions

View File

@@ -1,6 +1,6 @@
use colored::*;
use envmnt::{ExpandOptions, ExpansionType};
use std::{boxed::Box, io::{BufReader, BufWriter, Read, Write}, path::PathBuf};
use std::{boxed::Box, io::{BufRead, BufReader, BufWriter, Read, Write}, path::PathBuf};
pub mod bits;
pub mod compress;
@@ -8,7 +8,7 @@ pub mod raw;
pub type BufferedInputFile = BufReader<std::fs::File>;
pub type Output = Box<dyn Write>;
pub type Input = Box<dyn Read>;
pub type Input = Box<dyn BufRead>;
#[macro_export]
macro_rules! format_if_error {