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:
committed by
David Peter
parent
a2ee753b25
commit
26439b41d2
+2
-5
@@ -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<()> {
|
||||
|
||||
Reference in New Issue
Block a user