id = "uname" name = "uname" description = "Print operating system name and system information." executables = ["uname"] [commands] format = 1 label = "Show system information" description = "Print selected system information. Defaults to the kernel name when nothing is chosen." quality = "ai-draft" base = "fig:uname" 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/uname.ts" license = "MIT" [[commands.field]] id = "all" label = "Everything" type = "boolean" option = ["-a"] sources = ["fig"] [[commands.field]] id = "kernel" label = "Operating system name" type = "boolean" option = ["-s"] sources = ["fig"] [[commands.field]] id = "release" label = "OS release" type = "boolean" option = ["-r"] sources = ["fig"] [[commands.field]] id = "version" label = "OS version" type = "boolean" option = ["-v"] sources = ["fig"] [[commands.field]] id = "machine" label = "Machine hardware name" type = "boolean" option = ["-m"] sources = ["fig"] [[commands.field]] id = "node" label = "Hostname" type = "boolean" option = ["-n"] sources = ["fig"] [[commands.field]] id = "processor" label = "Processor architecture" type = "boolean" option = ["-p"] sources = ["fig"] [[commands.task]] id = "all" label = "Show everything" set = { all = [true] } lock = ["all"] fields = ["all"] required = [] [[commands.task]] id = "arch" label = "Show architecture" set = { machine = [true] } fields = ["machine", "processor"] required = [] [[commands.group]] id = "basic" label = "Basic" fields = ["all", "kernel", "release", "version", "machine", "node", "processor"]