id = "dust"
name = "Dust"
homepage = "https://github.com/bootandy/dust"
description = "du + rust = dust. Like du but more intuitive."
executables = ["dust"]
[dotfiles]
paths = ["[configHome]/dust/config.toml", "~/.dust.toml"]
exclude = []
secret = []
side_effect = false
[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"]