id = "minectl" name = "minectl" description = "Create Minecraft servers on different cloud providers." homepage = "https://github.com/dirien/minectl" executables = ["minectl"] [commands] format = 1 label = "minectl" description = "Create, list and delete Minecraft servers. Plugins, RCON and the wizard are left out." quality = "ai-draft" base = "fig:minectl" 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/minectl.ts" license = "MIT" [[commands.subcommand]] path = ["create"] label = "Create a server" [[commands.subcommand.source]] id = "fig" kind = "completion" url = "https://github.com/withfig/autocomplete/blob/master/src/minectl.ts" license = "MIT" [[commands.subcommand.field]] id = "filename" label = "Manifest file" type = "path" option = ["--filename", "-f"] path = { kind = "file", role = "input" } sources = ["fig"] [[commands.subcommand.field]] id = "wait" label = "Wait until started" type = "boolean" option = ["--wait", "-w"] sources = ["fig"] [[commands.subcommand.task]] id = "create" label = "Create from manifest" fields = ["filename", "wait"] required = ["filename"] [[commands.subcommand.group]] id = "basic" label = "Basic" fields = ["filename", "wait"] [[commands.subcommand]] path = ["list"] label = "List servers" [[commands.subcommand.source]] id = "fig" kind = "completion" url = "https://github.com/withfig/autocomplete/blob/master/src/minectl.ts" license = "MIT" [[commands.subcommand.field]] id = "provider" label = "Provider" type = "string" option = ["--provider", "-p"] suggestions = [{ value = "civo", label = "Civo" }, { value = "scaleway", label = "Scaleway" }, { value = "do", label = "DigitalOcean" }, { value = "hetzner", label = "Hetzner" }, { value = "linode", label = "Linode" }, { value = "aws", label = "AWS" }, { value = "gce", label = "Google Cloud" }, { value = "azure", label = "Azure" }, { value = "multipass", label = "Multipass" }] sources = ["fig"] [[commands.subcommand.field]] id = "region" label = "Region" type = "string" option = ["--region", "-r"] sources = ["fig"] [[commands.subcommand.task]] id = "list" label = "List" fields = ["provider", "region"] required = ["provider"] [[commands.subcommand.group]] id = "basic" label = "Basic" fields = ["provider", "region"] [[commands.subcommand]] path = ["delete"] label = "Delete a server" [[commands.subcommand.source]] id = "fig" kind = "completion" url = "https://github.com/withfig/autocomplete/blob/master/src/minectl.ts" license = "MIT" [[commands.subcommand.field]] id = "filename" label = "Manifest file" type = "path" option = ["--filename", "-f"] path = { kind = "file", role = "input" } sources = ["fig"] [[commands.subcommand.field]] id = "id" label = "Server ID" type = "string" option = ["--id"] sources = ["fig"] [[commands.subcommand.field]] id = "yes" label = "Skip confirmation" type = "boolean" option = ["--yes", "-y"] effect = "delete" sources = ["fig"] [[commands.subcommand.task]] id = "delete" label = "Delete by manifest" fields = ["filename", "id"] required = ["filename"] [[commands.subcommand.group]] id = "basic" label = "Basic" fields = ["filename", "id", "yes"]