id = "ncal" name = "ncal" description = "Display a calendar and the date of Easter." executables = ["ncal"] [commands] format = 1 label = "Show calendar" description = "Print a month or year calendar, or the date of Easter. Debug date overrides are left out." quality = "ai-draft" base = "fig:ncal" 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/ncal.ts" license = "MIT" [[commands.field]] id = "month" label = "Month" type = "string" option = ["-m"] suggestions = [{ value = "january", label = "january" }, { value = "february", label = "february" }, { value = "march", label = "march" }, { value = "april", label = "april" }, { value = "may", label = "may" }, { value = "june", label = "june" }, { value = "july", label = "july" }, { value = "august", label = "august" }, { value = "september", label = "september" }, { value = "october", label = "october" }, { value = "november", label = "november" }, { value = "december", label = "december" }] sources = ["fig"] [[commands.field]] id = "year" label = "Year" type = "integer" option = ["-y"] sources = ["fig"] [[commands.field]] id = "three" label = "Previous, current and next month" type = "boolean" option = ["-3"] sources = ["fig"] [[commands.field]] id = "weeks" label = "Show week numbers" type = "boolean" option = ["-w"] sources = ["fig"] [[commands.field]] id = "julian_days" label = "Julian days" type = "boolean" option = ["-j"] sources = ["fig"] [[commands.field]] id = "easter" label = "Date of Easter (Western)" type = "boolean" option = ["-e"] sources = ["fig"] [[commands.field]] id = "orthodox_easter" label = "Date of Orthodox Easter" type = "boolean" option = ["-o"] sources = ["fig"] [[commands.field]] id = "no_highlight" label = "Do not highlight today" type = "boolean" option = ["-h"] sources = ["fig"] [[commands.field]] id = "after" label = "Months after current" type = "integer" option = ["-A"] sources = ["fig"] [[commands.field]] id = "before" label = "Months before current" type = "integer" option = ["-B"] sources = ["fig"] [[commands.task]] id = "around-today" label = "Three-month view" set = { three = [true] } fields = ["three", "weeks"] required = [] [[commands.task]] id = "easter" label = "Date of Easter" set = { easter = [true] } fields = ["easter", "year"] required = [] [[commands.group]] id = "basic" label = "Basic" fields = ["month", "year", "three", "weeks", "easter"] [[commands.group]] id = "advanced" label = "Advanced" fields = ["julian_days", "orthodox_easter", "no_highlight", "after", "before"]