id = "exa" name = "exa" description = "A modern replacement for ls." homepage = "https://the.exa.website" executables = ["exa"] [commands] format = 1 label = "List files" description = "List directory contents. Git, extended attribute and timestamp options are mostly left out." quality = "ai-draft" base = "fig:exa" 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/exa.ts" license = "MIT" [[commands.field]] id = "files" label = "Files or directories" type = "path" position = 0 multiple = true path = { kind = "any", role = "input" } sources = ["fig"] [[commands.field]] id = "long" label = "Long format" type = "boolean" option = ["--long", "-l"] sources = ["fig"] [[commands.field]] id = "all" label = "Show hidden files" type = "boolean" option = ["--all", "-a"] sources = ["fig"] [[commands.field]] id = "tree" label = "Tree view" type = "boolean" option = ["--tree", "-T"] sources = ["fig"] [[commands.field]] id = "level" label = "Recursion depth" type = "integer" option = ["--level", "-L"] sources = ["fig"] [[commands.field]] id = "sort" label = "Sort by" type = "string" option = ["--sort", "-s"] suggestions = [{ value = "name", label = "Name" }, { value = "size", label = "Size" }, { value = "modified", label = "Modified" }, { value = "extension", label = "Extension" }, { value = "type", label = "Type" }] sources = ["fig"] [[commands.field]] id = "reverse" label = "Reverse order" type = "boolean" option = ["--reverse", "-r"] sources = ["fig"] [[commands.field]] id = "dirs_first" label = "Directories first" type = "boolean" option = ["--group-directories-first"] sources = ["fig"] [[commands.field]] id = "header" label = "Header row" type = "boolean" option = ["--header", "-h"] sources = ["fig"] [[commands.field]] id = "git" label = "Git status" type = "boolean" option = ["--git"] sources = ["fig"] [[commands.field]] id = "icons" label = "Icons" type = "boolean" option = ["--icons"] sources = ["fig"] [[commands.task]] id = "long" label = "Long listing" set = { long = [true], header = [true] } fields = ["files", "long", "header", "all", "git", "sort"] required = [] [[commands.task]] id = "tree" label = "Tree" set = { tree = [true] } fields = ["files", "tree", "level", "all", "icons"] required = [] [[commands.group]] id = "basic" label = "Basic" fields = ["files", "long", "all", "tree", "level"] [[commands.group]] id = "advanced" label = "Advanced" fields = ["sort", "reverse", "dirs_first", "header", "git", "icons"]