id = "readlink" name = "readlink" description = "Print the target of a symbolic link." executables = ["readlink"] [commands] format = 1 label = "Read a symlink" description = "Print where a symbolic link points." quality = "ai-draft" base = "fig:readlink" 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/readlink.ts" license = "MIT" [[commands.field]] id = "files" label = "Symlinks" type = "path" position = 0 multiple = true path = { kind = "any", role = "input" } sources = ["fig"] [[commands.field]] id = "no_newline" label = "No trailing newline" type = "boolean" option = ["-n"] sources = ["fig"] [[commands.task]] id = "read" label = "Print link target" fields = ["files", "no_newline"] required = ["files"] [[commands.group]] id = "basic" label = "Basic" fields = ["files", "no_newline"]