id = "crontab" name = "crontab" description = "Maintain crontab files for individual users." executables = ["crontab"] [commands] format = 1 label = "Manage crontab" description = "List or edit a user's crontab, or remove it. Installing a crontab from a file is left out." quality = "ai-draft" base = "fig:crontab" parser = { end_of_options = "--", interleave = "permute", long_equals = false, short_attached = true, short_bundles = false } [[commands.source]] id = "fig" kind = "completion" url = "https://github.com/withfig/autocomplete/blob/master/src/crontab.ts" license = "MIT" [[commands.field]] id = "list" label = "List the current crontab" type = "boolean" option = ["-l"] sources = ["fig"] [[commands.field]] id = "edit" label = "Edit the current crontab" type = "boolean" option = ["-e"] sources = ["fig"] [[commands.field]] id = "remove" label = "Remove the current crontab" type = "boolean" option = ["-r"] effect = "delete" sources = ["fig"] [[commands.field]] id = "user" label = "User" type = "string" option = ["-u"] sources = ["fig"] [[commands.task]] id = "list" label = "List crontab" set = { list = [true] } lock = ["list"] fields = ["user"] required = [] [[commands.task]] id = "edit" label = "Edit crontab" set = { edit = [true] } lock = ["edit"] fields = ["user"] required = [] [[commands.group]] id = "basic" label = "Basic" fields = ["list", "edit", "user", "remove"]