id = "quickmail" name = "Quickmail" description = "Terminal-based tool for sending email." executables = ["quickmail"] [commands] format = 1 label = "Quickmail" description = "Send an email from the terminal. Init, clear and template management are not covered." quality = "ai-draft" base = "fig:quickmail" 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/quickmail.ts" license = "MIT" [[commands.subcommand]] path = ["send"] label = "Send mail" description = "Compose a mail with receiver, subject, body and an optional attachment." [[commands.subcommand.source]] id = "fig" kind = "completion" url = "https://github.com/withfig/autocomplete/blob/master/src/quickmail.ts" license = "MIT" [[commands.subcommand.field]] id = "receiver" label = "Receiver" type = "string" option = ["-r", "--receiver"] sources = ["fig"] [[commands.subcommand.field]] id = "subject" label = "Subject" type = "string" option = ["--subject"] sources = ["fig"] [[commands.subcommand.field]] id = "body" label = "Body" type = "string" option = ["-b", "--body"] sources = ["fig"] [[commands.subcommand.field]] id = "attachment" label = "Attachment" type = "path" option = ["-a", "--attachment"] path = { kind = "file", role = "input" } sources = ["fig"] [[commands.subcommand.field]] id = "template" label = "Template" type = "string" option = ["-t", "--template"] sources = ["fig"] [[commands.subcommand.field]] id = "lessgo" label = "Skip confirmation and send" type = "boolean" option = ["-l", "--lessgo"] effect = "exec" sources = ["fig"] [[commands.subcommand.task]] id = "send" label = "Send a mail" fields = ["receiver", "subject", "body", "attachment"] required = ["receiver", "subject"] [[commands.subcommand.group]] id = "basic" label = "Basic" fields = ["receiver", "subject", "body", "attachment"] [[commands.subcommand.group]] id = "advanced" label = "Advanced" fields = ["template", "lessgo"]