id = "tail" name = "tail" description = "Display the last part of a file." executables = ["tail"] [commands] format = 1 label = "Show end of file" description = "Display the last part of files. Only the flags Fig lists (-f, -r) are included; -n/-c are not in the completion data." quality = "ai-draft" base = "fig:tail" 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/tail.ts" license = "MIT" [[commands.field]] id = "follow" label = "Follow appended data" type = "boolean" option = ["-f"] sources = ["fig"] [[commands.field]] id = "reverse" label = "Reverse order" type = "boolean" option = ["-r"] sources = ["fig"] [[commands.field]] id = "files" label = "Files" type = "path" path = { kind = "file", role = "input" } position = 0 multiple = true min = 1 sources = ["fig"] [[commands.task]] id = "follow" label = "Follow a file" set = { follow = [true] } fields = ["files", "follow"] required = ["files"] [[commands.group]] id = "basic" label = "Basic" fields = ["files", "follow", "reverse"]