Skip to main content

RawCliJob

Struct RawCliJob 

Source
pub struct RawCliJob {
Show 40 fields pub help_for_pattern: bool, pub help_for_config: bool, pub jobs_load_only_show: Option<String>, pub dry_run: Option<bool>, pub export_nothing: Option<bool>, pub print_nothing: Option<bool>, pub print_warnings: Option<bool>, pub inspection_in_export: Option<bool>, pub inspection_in_print: Option<bool>, pub jobs_load: Option<String>, pub task_id: Option<BTreeSet<String>>, pub job_blank: bool, pub speed: bool, pub dir_to_scan: String, pub patterns: Vec<String>, pub query_parts: Vec<String>, pub ignore_case: Option<bool>, pub out_dir: String, pub title: Option<String>, pub name: Option<String>, pub name_is_first: Option<bool>, pub save_separately: Option<bool>, pub attributes: Option<Vec<SharedJobAttributeToSelect>>, pub show_colors: Option<bool>, pub tree_hide: Option<bool>, pub icon_hide: Option<bool>, pub name_hide: Option<bool>, pub align_hide: Option<bool>, pub icon_more: Option<bool>, pub num_before: Option<bool>, pub size_binary: Option<bool>, pub fmt_date: Option<String>, pub fmt_time: Option<String>, pub pile: Option<String>, pub dir_first: Option<bool>, pub name_nearby: Option<bool>, pub sort: Option<String>, pub reverse: Option<bool>, pub mirror: Option<bool>, pub strategy: Option<String>,
}

Fields§

§help_for_pattern: bool

Wyświetla szczegółową pomoc dotyczącą składni wzorców (Patterns)

§help_for_config: bool

Wyświetla pomoc dotyczącą struktury pliku konfiguracyjnego TOML

§jobs_load_only_show: Option<String>

Załadowywuje plik z konfiguracją zadania i tylko wyświetla listę zadań, nic nie robi więcej.

§dry_run: Option<bool>

Uruchom w trybie “suchy bieg” (dry run)

§export_nothing: Option<bool>

Nie zapisuj wyników na dysku

§print_nothing: Option<bool>

Całkowita cisza - nie drukuje absolutnie niczego na ekranie (nawet błędów)

§print_warnings: Option<bool>

Pokaż tylko ostrzeżenia

§inspection_in_export: Option<bool>

Zapisuje dodatkowe informacjie

§inspection_in_print: Option<bool>

Wyświetla dodatkowe informacje

§jobs_load: Option<String>

Załadowywuje plik z konfiguracją zadania w formacie TOML. Wymaga podania ścieżki lub użyje domyślnej po samej fladze.

§task_id: Option<BTreeSet<String>>

Wybiera zadanie lub zadania do obsłużenia z pliku TOML. Opcjonalne, ma zastosowanie TYLKO przy użyciu flagi -l.

§job_blank: bool

Pozwala utworzyć nowe czyste zapytanie z domyślnymi ustawieniami, zamiast wczytywać z configu lub pliku TOML.

§speed: bool

Uruchamia zadanie w trybie przyspieszonym (tylko bazowe parametry, optymalna ścieżka wykonania)

§dir_to_scan: String

Ścieżka katalogu do skanowania (domyślnie obecny katalog)

§patterns: Vec<String>

Wzorce wyszukiwania (np. "src//*.rs", "!target/")

§query_parts: Vec<String>

Części zapytania [MF, MD, XF, XD] (np. –parts md mf) lub pełna nazwa [matched-files, matched-dirs, mismatched-files, mismatched-dirs]

§ignore_case: Option<bool>

Ignoruj wielkość liter przy dopasowywaniu wzorców

§out_dir: String§title: Option<String>§name: Option<String>§name_is_first: Option<bool>§save_separately: Option<bool>§attributes: Option<Vec<SharedJobAttributeToSelect>>

kolumna item jest obowiązkowa, jeśli brak ? - dodawan jest na końcu Kolumny do wyświetlenia (oddzielone przecinkami: date,time,size,path,item)

§show_colors: Option<bool>§tree_hide: Option<bool>§icon_hide: Option<bool>§name_hide: Option<bool>§align_hide: Option<bool>§icon_more: Option<bool>§num_before: Option<bool>§size_binary: Option<bool>§fmt_date: Option<String>§fmt_time: Option<String>§pile: Option<String>

Typ grupowania (Pile). Dostępne opcje: name, exte, none.

§dir_first: Option<bool>

Jeśli włączono grupowanie, katalogi zawsze wyświetlają się jako pierwsze.

§name_nearby: Option<bool>

Jeśli włączono grupowanie (name), zbiera pliki o tej samej nazwie obok katalogu nadrzędnego.

§sort: Option<String>

Kryterium sortowania: date, size, path, name, none.

§reverse: Option<bool>

Odwróć kolejność sortowania (Descending). Wymaga –sort.

§mirror: Option<bool>

Odbicie lustrzane sortowania tekstowego. Wymaga –sort (path/name).

§strategy: Option<String>

Strategia sortowania (Spec, Num, AZaz). Wymaga –sort (path/name).

Trait Implementations§

Source§

impl Args for RawCliJob

Source§

fn group_id() -> Option<Id>

Report the ArgGroup::id for this set of arguments
Source§

fn augment_args<'b>(__clap_app: Command) -> Command

Append to Command so it can instantiate Self via FromArgMatches::from_arg_matches_mut Read more
Source§

fn augment_args_for_update<'b>(__clap_app: Command) -> Command

Append to Command so it can instantiate self via FromArgMatches::update_from_arg_matches_mut Read more
Source§

impl Clone for RawCliJob

Source§

fn clone(&self) -> RawCliJob

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for RawCliJob

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl FromArgMatches for RawCliJob

Source§

fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>

Instantiate Self from ArgMatches, parsing the arguments as needed. Read more
Source§

fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>

Instantiate Self from ArgMatches, parsing the arguments as needed. Read more
Source§

fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>

Assign values from ArgMatches to self.
Source§

fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>

Assign values from ArgMatches to self.

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.