id = "multipass" name = "Multipass" description = "Create, control and connect to Ubuntu instances." homepage = "https://multipass.run" executables = ["multipass"] [commands] format = 1 label = "Multipass" description = "Launch, list and open a shell in Ubuntu instances. Other subcommands are left out." quality = "ai-draft" base = "fig:multipass" 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/multipass.ts" license = "MIT" [[commands.subcommand]] path = ["launch"] label = "Launch an instance" [[commands.subcommand.source]] id = "fig" kind = "completion" url = "https://github.com/withfig/autocomplete/blob/master/src/multipass.ts" license = "MIT" [[commands.subcommand.field]] id = "image" label = "Image" description = "Default Ubuntu LTS if omitted." type = "string" position = 0 sources = ["fig"] [[commands.subcommand.field]] id = "name" label = "Name" type = "string" option = ["--name", "-n"] sources = ["fig"] [[commands.subcommand.field]] id = "cpus" label = "CPUs" type = "integer" option = ["--cpus", "-c"] sources = ["fig"] [[commands.subcommand.field]] id = "mem" label = "Memory" description = "Bytes or with K, M, G suffix. Default 1G." type = "string" option = ["--mem", "-m"] sources = ["fig"] [[commands.subcommand.field]] id = "disk" label = "Disk" description = "Bytes or with K, M, G suffix. Default 5G." type = "string" option = ["--disk", "-d"] sources = ["fig"] [[commands.subcommand.field]] id = "cloud_init" label = "Cloud-init file" type = "path" option = ["--cloud-init"] path = { kind = "file", role = "input" } sources = ["fig"] [[commands.subcommand.task]] id = "launch" label = "Launch" fields = ["image", "name", "cpus", "mem", "disk"] [[commands.subcommand.group]] id = "basic" label = "Basic" fields = ["image", "name", "cpus", "mem", "disk", "cloud_init"] [[commands.subcommand]] path = ["list"] label = "List instances" [[commands.subcommand.source]] id = "fig" kind = "completion" url = "https://github.com/withfig/autocomplete/blob/master/src/multipass.ts" license = "MIT" [[commands.subcommand.field]] id = "format" label = "Format" type = "enum" option = ["--format"] choices = [{ value = "table", label = "Table" }, { value = "json", label = "JSON" }, { value = "csv", label = "CSV" }, { value = "yaml", label = "YAML" }] sources = ["fig"] [[commands.subcommand.task]] id = "list" label = "List" fields = ["format"] [[commands.subcommand.group]] id = "basic" label = "Basic" fields = ["format"] [[commands.subcommand]] path = ["shell"] label = "Open a shell" [[commands.subcommand.source]] id = "fig" kind = "completion" url = "https://github.com/withfig/autocomplete/blob/master/src/multipass.ts" license = "MIT" [[commands.subcommand.field]] id = "name" label = "Instance name" description = "primary if omitted." type = "string" position = 0 sources = ["fig"] [[commands.subcommand.task]] id = "shell" label = "Shell" fields = ["name"] [[commands.subcommand.group]] id = "basic" label = "Basic" fields = ["name"]