id = "fdisk" name = "fdisk" description = "Manipulate disk partition tables." platforms = ["linux"] executables = ["fdisk"] [commands] format = 1 label = "List partition tables" description = "List partition tables of devices (read-only). Interactive partitioning is left out." quality = "ai-draft" base = "fig:fdisk" 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/fdisk.ts" license = "MIT" [[commands.field]] id = "device" label = "Device" description = "Leave empty to list all devices." type = "path" position = 0 multiple = true path = { kind = "any", role = "input" } sources = ["fig"] [[commands.field]] id = "list" label = "List partition tables" type = "boolean" option = ["--list", "-l"] sources = ["fig"] [[commands.field]] id = "list_details" label = "List with details" type = "boolean" option = ["--list-details", "-x"] sources = ["fig"] [[commands.field]] id = "output" label = "Output columns" type = "string" option = ["--output", "-o"] sources = ["fig"] [[commands.field]] id = "type" label = "Disklabel type" type = "string" option = ["--type", "-t"] sources = ["fig"] [[commands.task]] id = "list" label = "List partitions" set = { list = [true] } fields = ["list", "device", "output"] required = [] [[commands.group]] id = "basic" label = "Basic" fields = ["device", "list", "list_details"] [[commands.group]] id = "advanced" label = "Advanced" fields = ["output", "type"]