id = "dust" name = "Dust" homepage = "https://github.com/bootandy/dust" description = "du + rust = dust. Like du but more intuitive." executables = ["dust"] [dotfiles] # src/config.rs, get_config_locations(): the home directory's .dust.toml, then # /dust/config.toml, where config home is $XDG_CONFIG_HOME when it # is set to an absolute path and ~/.config otherwise — that is [configHome]. # Keys are the long flag names in kebab-case (the Config struct is # #[serde(rename_all = "kebab-case")]). paths = ["[configHome]/dust/config.toml", "~/.dust.toml"] exclude = [] # Display defaults only; dust reads the filesystem and talks to nothing. secret = [] # Read once at startup, before the command line is applied. side_effect = false # No machine_lines: every key is a display preference (reverse, depth, colour, # number-of-lines) that a user wants on every machine. [commands] format = 1 label = "Disk usage tree" description = "Show what takes up disk space under one or more directories. Leaves out --file_types, --terminal_width and --min-size." quality = "ai-draft" base = "fig:dust" parser = { end_of_options = "--", interleave = "permute", long_equals = true, short_attached = true, short_bundles = true } [[commands.source]] id = "fig" kind = "completion" url = "https://github.com/withfig/autocomplete/blob/master/src/dust.ts" license = "MIT" [[commands.field]] id = "inputs" label = "Directories" type = "path" position = 0 multiple = true path = { kind = "directory", role = "input" } sources = ["fig"] [[commands.field]] id = "depth" label = "Depth" type = "integer" option = ["--depth", "-d"] sources = ["fig"] [[commands.field]] id = "number_of_lines" label = "Lines of output" type = "integer" option = ["--number-of-lines", "-n"] sources = ["fig"] [[commands.field]] id = "reverse" label = "Biggest first (reverse tree)" type = "boolean" option = ["--reverse", "-r"] sources = ["fig"] [[commands.field]] id = "apparent_size" label = "Apparent size" type = "boolean" option = ["--apparent-size", "-s"] sources = ["fig"] [[commands.field]] id = "filecount" label = "Count files instead of size" type = "boolean" option = ["--filecount", "-f"] sources = ["fig"] [[commands.field]] id = "si" label = "Powers of 1000" type = "boolean" option = ["--si", "-H"] sources = ["fig"] [[commands.field]] id = "full_paths" label = "Full paths" type = "boolean" option = ["--full-paths", "-p"] sources = ["fig"] [[commands.field]] id = "ignore_hidden" label = "Ignore hidden" type = "boolean" option = ["--ignore_hidden", "-i"] sources = ["fig"] [[commands.field]] id = "limit_filesystem" label = "Stay on one filesystem" type = "boolean" option = ["--limit-filesystem", "-x"] sources = ["fig"] [[commands.field]] id = "filter" label = "Only paths matching regex" type = "string" option = ["--filter", "-e"] sources = ["fig"] [[commands.field]] id = "invert_filter" label = "Exclude paths matching regex" type = "string" option = ["--invert-filter", "-v"] sources = ["fig"] [[commands.field]] id = "no_percent_bars" label = "No percent bars" type = "boolean" option = ["--no-percent-bars", "-b"] sources = ["fig"] [[commands.field]] id = "no_colors" label = "No colors" type = "boolean" option = ["--no-colors", "-c"] sources = ["fig"] [[commands.field]] id = "skip_total" label = "Skip total row" type = "boolean" option = ["--skip-total"] sources = ["fig"] [[commands.task]] id = "top" label = "Largest items" fields = ["inputs", "depth", "number_of_lines", "apparent_size", "reverse"] [[commands.task]] id = "shallow" label = "Top level only" set = { depth = [1] } fields = ["inputs", "depth", "number_of_lines"] [[commands.group]] id = "basic" label = "Basic" fields = ["inputs", "depth", "number_of_lines", "reverse", "apparent_size"] [[commands.group]] id = "advanced" label = "Advanced" fields = ["filecount", "si", "full_paths", "ignore_hidden", "limit_filesystem", "filter", "invert_filter", "no_percent_bars", "no_colors", "skip_total"]