1
0
mirror of https://github.com/sharkdp/bat synced 2026-08-08 19:41:45 +00:00

Move Config,PagingMode from app.rs into lib.rs

This commit is contained in:
Fahmi Akbar Wildana
2019-10-06 08:44:14 +07:00
committed by David Peter
parent a2ee753b25
commit 26439b41d2
6 changed files with 75 additions and 73 deletions
+2 -5
View File
@@ -21,17 +21,14 @@ use std::process;
use ansi_term::Colour::Green;
use ansi_term::Style;
use crate::{
app::{App, Config},
config::config_file,
controller::Controller,
};
use crate::{app::App, config::config_file, controller::Controller};
use bat::{
assets::{cache_dir, clear_assets, config_dir, HighlightingAssets},
errors::*,
inputfile::InputFile,
style::{OutputComponent, OutputComponents},
Config,
};
fn run_cache_subcommand(matches: &clap::ArgMatches) -> Result<()> {