id = "xc" name = "xc" description = "Runs tasks defined in the headings of a markdown file." executables = ["xc"] [commands] format = 1 label = "List tasks" description = "Lists the tasks found in a markdown file. Running tasks is outside this form." quality = "ai-draft" base = "fig:xc" parser = { end_of_options = "--", interleave = "permute", long_equals = true, short_attached = true, short_bundles = false } [[commands.source]] id = "fig" kind = "completion" url = "https://github.com/withfig/autocomplete/blob/master/src/xc.ts" license = "MIT" [[commands.field]] id = "short" label = "Short format" type = "boolean" option = ["-s", "-short"] sources = ["fig"] [[commands.field]] id = "file" label = "Markdown file" description = "Defaults to README.md." type = "path" option = ["-f", "-file"] path = { kind = "file", role = "input", must_exist = true } sources = ["fig"] [[commands.field]] id = "heading" label = "Task heading" description = "Defaults to Tasks." type = "string" option = ["-H", "-heading"] suggestions = [{ value = "Tasks", label = "Tasks" }, { value = "Usage", label = "Usage" }, { value = "Examples", label = "Examples" }] sources = ["fig"] [[commands.task]] id = "list" label = "List tasks" fields = ["file", "heading", "short"] required = [] [[commands.group]] id = "basic" label = "Basic" fields = ["file", "heading", "short"]