id = "dateseq" name = "dateseq" description = "Generate a sequence of dates (dateutils)." executables = ["dateseq"] [commands] format = 1 label = "Generate date sequence" description = "Print dates from FIRST to LAST in steps of INCREMENT." quality = "ai-draft" base = "fig:dateseq" 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/dateseq.ts" license = "MIT" [[commands.field]] id = "format" label = "Output format" type = "string" option = ["--format", "-f"] sources = ["fig"] [[commands.field]] id = "input_format" label = "Input format" type = "string" option = ["--input-format", "-i"] multiple = true sources = ["fig"] [[commands.field]] id = "skip" label = "Skip weekdays" description = "e.g. sat,sun or ss for weekends." type = "string" option = ["--skip", "-s"] sources = ["fig"] [[commands.field]] id = "quiet" label = "Quiet" type = "boolean" option = ["--quiet", "-q"] sources = ["fig"] [[commands.field]] id = "first" label = "First date" type = "string" position = 0 sources = ["fig"] [[commands.field]] id = "increment" label = "Increment" description = "e.g. 1d, 1w." type = "string" position = 1 sources = ["fig"] [[commands.field]] id = "last" label = "Last date" type = "string" position = 2 sources = ["fig"] [[commands.task]] id = "range" label = "Date range" fields = ["first", "increment", "last", "format", "skip"] required = ["first", "last"] [[commands.group]] id = "basic" label = "Basic" fields = ["first", "increment", "last", "format", "input_format", "skip", "quiet"]