pub struct Args {Show 17 fields
pub folders: Vec<PathBuf>,
pub skip_folders: Vec<String>,
pub output: PathBuf,
pub show_skipped: bool,
pub threads: usize,
pub max_file_size: u64,
pub skip_extensions: Vec<String>,
pub auto_detect: bool,
pub include_hidden: bool,
pub max_depth: usize,
pub show_stats: bool,
pub dry_run: bool,
pub list_templates: bool,
pub enable_templates: Vec<String>,
pub disable_templates: Vec<String>,
pub force_update: bool,
pub show_enabled: bool,
}Expand description
§Высокопроизводительный инструмент для “сглаживания” кодовой базы с умными исключениями
Утилита для рекурсивного обхода директорий, конкатенации текстовых файлов в один Markdown-файл с сохранением структуры проекта.
Fields§
§folders: Vec<PathBuf>Базовые папки для обработки
skip_folders: Vec<String>Папки для пропуска при обработке (поддерживаются glob-паттерны)
output: PathBufВыходной файл
show_skipped: boolПоказывать пропущенные папки в дереве структуры
threads: usizeКоличество потоков для параллельной обработки файлов
max_file_size: u64Максимальный размер файла для обработки в байтах (0 = без ограничений)
skip_extensions: Vec<String>Паттерны расширений файлов для пропуска
auto_detect: boolАвтоматически определять тип проекта и настраивать соответствующие пропуски
Включать скрытые файлы и папки
max_depth: usizeМаксимальная глубина обхода директорий (0 = без ограничений)
show_stats: boolПоказать детальную статистику после обработки
dry_run: boolТестовый запуск - показать, что будет обработано, без создания выходного файла
list_templates: boolПоказать список всех доступных шаблонов исключений
enable_templates: Vec<String>Включить определенный шаблон исключений
disable_templates: Vec<String>Отключить определенный шаблон исключений
force_update: boolПринудительно обновить шаблоны из API
show_enabled: boolПоказать включенные шаблоны
Trait Implementations§
Source§impl Args for Args
impl Args for Args
Source§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
Source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
fn augment_args_for_update<'b>(__clap_app: Command) -> Command
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§impl CommandFactory for Args
impl CommandFactory for Args
Source§impl FromArgMatches for Args
impl FromArgMatches for Args
Source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
Source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
ArgMatches to self.Source§fn update_from_arg_matches_mut(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
ArgMatches to self.Source§impl Parser for Args
impl Parser for Args
Source§fn parse_from<I, T>(itr: I) -> Self
fn parse_from<I, T>(itr: I) -> Self
Source§fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>
fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>
Source§fn update_from<I, T>(&mut self, itr: I)
fn update_from<I, T>(&mut self, itr: I)
Auto Trait Implementations§
impl Freeze for Args
impl RefUnwindSafe for Args
impl Send for Args
impl Sync for Args
impl Unpin for Args
impl UnsafeUnpin for Args
impl UnwindSafe for Args
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more