pub struct Args {Show 81 fields
pub paths: Vec<PathBuf>,
pub help: Option<bool>,
pub all: bool,
pub almost_all: bool,
pub long: bool,
pub one_per_line: bool,
pub columns: bool,
pub commas: bool,
pub human_readable: bool,
pub si: bool,
pub recursive: bool,
pub reverse: bool,
pub sort_time: bool,
pub sort_size: bool,
pub sort_extension: bool,
pub sort_version: bool,
pub sort_none: bool,
pub sort: Option<String>,
pub time: Option<String>,
pub access_time: bool,
pub change_time: bool,
pub color: ColorArg,
pub json: bool,
pub csv: bool,
pub tsv: bool,
pub tree: bool,
pub gnu: bool,
pub icons: IconsArg,
pub classify: bool,
pub indicator_slash: bool,
pub file_type: bool,
pub indicator_style: Option<String>,
pub dirs_first: bool,
pub directory: bool,
pub ignore_backups: bool,
pub ignore: Vec<String>,
pub hide: Vec<String>,
pub dereference: bool,
pub dereference_command_line: bool,
pub dereference_command_line_symlink_to_dir: bool,
pub no_owner: bool,
pub no_group_long: bool,
pub no_group: bool,
pub numeric_uid_gid: bool,
pub inode: bool,
pub size_blocks: bool,
pub kibibytes: bool,
pub block_size: Option<String>,
pub full_time: bool,
pub time_style: Option<String>,
pub hide_control_chars: bool,
pub show_control_chars: bool,
pub escape: bool,
pub quote_name: bool,
pub literal: bool,
pub quoting_style: Option<String>,
pub across: bool,
pub unsorted_all: bool,
pub format: Option<String>,
pub tabsize: Option<usize>,
pub width: Option<usize>,
pub context: bool,
pub zero: bool,
pub dired: bool,
pub author: bool,
pub hyperlink: Option<String>,
pub max_depth: Option<usize>,
pub git: bool,
pub config: Option<PathBuf>,
pub browse: bool,
pub ignore_files: bool,
pub no_ignore: bool,
pub archive: bool,
pub threads: usize,
pub profile: bool,
pub io_uring: bool,
pub generate_completions: Option<Shell>,
pub generate_man: bool,
pub update: bool,
pub check_update: bool,
pub list_plugins: bool,
}Expand description
f00 — a modern, friendly directory lister
Fields§
§paths: Vec<PathBuf>Paths to list (default: current directory)
help: Option<bool>Print help
all: boolDo not ignore entries starting with .
almost_all: boolDo not list implied . and .. (show other hidden files)
long: boolUse a long listing format
one_per_line: boolList one file per line
columns: boolList entries by columns
commas: boolFill width with a comma separated list of entries
human_readable: boolWith -l and -s, print sizes like 1K 234M 2G etc.
si: boolLikewise, but use powers of 1000 not 1024
recursive: boolList subdirectories recursively
reverse: boolReverse sort order
sort_time: boolSort by time, newest first
sort_size: boolSort by file size, largest first
sort_extension: boolSort alphabetically by entry extension
sort_version: boolNatural sort of (version) numbers within text (strverscmp)
sort_none: boolDo not sort; list entries in directory order
sort: Option<String>Sort by WORD (name, size, time, extension, version, none)
time: Option<String>Use time WORD for display/sort: mtime, atime, ctime, birth
access_time: boolSort by, and show, access time
change_time: boolSort by, and show, ctime (status change) when possible
color: ColorArgColorize output
json: boolEmit structured JSON
csv: boolEmit CSV
tsv: boolEmit TSV
tree: boolShow entries as a tree
gnu: boolStricter GNU ls-compatible behavior
icons: IconsArgShow file icons (auto/always/never; default: auto — TTY only, off under –gnu)
classify: boolAppend indicator (one of */=@|) to entries
indicator_slash: boolAppend / indicator to directories
file_type: boolLike -F, except do not append ‘*’
indicator_style: Option<String>Append indicator with style WORD: none, slash, file-type, classify
dirs_first: boolGroup directories before files
directory: boolList directories themselves, not their contents
ignore_backups: boolDo not list implied entries ending with ~
ignore: Vec<String>Do not list implied entries matching shell PATTERN (repeatable)
hide: Vec<String>Do not list implied entries matching shell PATTERN (unless -a/-A)
dereference: boolWhen showing file information for a symbolic link, show info for the file it references
dereference_command_line: boolFollow symbolic links listed on the command line
dereference_command_line_symlink_to_dir: boolFollow each command line symbolic link that points to a directory
no_owner: boolLike -l, but do not list owner
no_group_long: boolLike -l, but do not list group information
no_group: boolIn a long listing, don’t print group names
numeric_uid_gid: boolLike -l, but list numeric user and group IDs
inode: boolPrint the index number of each file
size_blocks: boolPrint the allocated size of each file, in blocks
kibibytes: boolDefault to 1024-byte blocks for filesystem disk usage (-s)
block_size: Option<String>Scale sizes by SIZE before printing (e.g. 1K, 1M, KB, MB)
full_time: boolLike -l –time-style=full-iso
time_style: Option<String>Time/date format with -l; also TIME_STYLE env
hide_control_chars: boolPrint ? instead of nongraphic characters
show_control_chars: boolShow nongraphic characters as-is (the default unless -q)
escape: boolPrint C-style escapes for nongraphic characters
quote_name: boolEnclose entry names in double quotes
literal: boolPrint entry names without quoting
quoting_style: Option<String>Use quoting style WORD for entry names
across: boolList entries by lines instead of by columns (row-major)
unsorted_all: boolSame as -a -U (and disable decorations in GNU mode)
format: Option<String>Across/commas/long/single-column/vertical
tabsize: Option<usize>Assume tab stops at each COLS instead of 8 (stored for layout)
width: Option<usize>Set output width to COLS; 0 means no limit
context: boolPrint any security context of each file (SELinux)
zero: boolEnd each output line with NUL, not newline
dired: boolGenerate output designed for Emacs’ dired mode
With -l, print the author of each file
hyperlink: Option<String>Hyperlink file names (auto/always/never)
max_depth: Option<usize>Maximum recursion depth (with -R / –tree)
git: boolAnnotate with git status (requires feature git)
config: Option<PathBuf>Path to TOML config file (overrides default search path)
browse: boolInteractive TUI directory browser (requires feature tui)
ignore_files: boolHonor .gitignore / .f00ignore when listing
no_ignore: boolDo not honor ignore files (overrides –ignore-files)
archive: boolAuto-list zip/tar archives as directories (default: true; off under –gnu)
threads: usizeParallel metadata threads: 0 = auto (rayon default), 1 = serial, N>1 = fixed pool
profile: boolPrint phase timing breakdown to stderr (readdir/stat/sort/format/total)
io_uring: boolUse io_uring batch metadata when built with --features io-uring (Linux)
generate_completions: Option<Shell>Generate shell completions to stdout and exit (bash, zsh, fish, powershell, elvish)
generate_man: boolGenerate a man page to stdout and exit
update: boolUpdate f00 from the latest GitHub Release (checksum verified)
check_update: boolCheck whether a newer release is available (no mutation); exit 1 if behind
list_plugins: boolList loaded plugins (requires feature plugins)
Implementations§
Source§impl Args
impl Args
Sourcepub fn test_default() -> Self
pub fn test_default() -> Self
Minimal args for tests (all flags default/off).
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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