<commit_before>use structopt::StructOpt;

mod cmdline;
mod commands;
mod core;
mod entrypoint;
mod logging;
mod pathenv;
mod terminal;
mod tmux;
mod utils;
mod version;
mod zsh;

fn main() {
    let opt = cmdline::Opt::from_args();
    logging::setup(opt.verbosity);
    log::debug!("options: {:#?}", opt);
    match opt.cmd {
        Some(ref sub_command) => {
            use cmdline::SubCommand;
            match *sub_command {
                SubCommand::Info => commands::info::display_info(),
                SubCommand::Completions(ref opt) => commands::completion::completion(opt),
            }
        }
        None => entrypoint::main(opt),
    }
}<commit_msg>Remove unnecessary ref<commit_after>use structopt::StructOpt;

mod cmdline;
mod commands;
mod core;
mod entrypoint;
mod logging;
mod pathenv;
mod terminal;
mod tmux;
mod utils;
mod version;
mod zsh;

fn main() {
    let opt = cmdline::Opt::from_args();
    logging::setup(opt.verbosity);
    log::debug!("options: {:#?}", opt);
    match opt.cmd {
        Some(sub_command) => {
            use cmdline::SubCommand;
            match sub_command {
                SubCommand::Info => commands::info::display_info(),
                SubCommand::Completions(ref x) => commands::completion::completion(x),
            }
        }
        None => entrypoint::main(opt),
    }
}
{'fraction_non_alphanumeric': 0.14190193164933135, 'fraction_numerical': 0.0, 'mean_word_length': 2.805084745762712, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3707545', 'n_tokens_mistral': 419, 'n_tokens_neox': 411, 'n_words': 95}