1 2 3 4 5 6 7 8 9 10 11 12
use clap::ArgMatches; use crate::reader::Reader; use crate::writer::Writer; pub struct Driver; impl Driver { pub fn drive(args: ArgMatches) { let (stats, max_width) = Reader::read(&args); Writer::write(stats, max_width, args); } }