id = "apt" name = "APT" description = "Package manager for Debian-based Linux distributions." executables = ["apt"] platforms = ["linux"] [commands] format = 1 label = "Package manager" description = "Install packages and search or list them. Other subcommands are left out." quality = "ai-draft" base = "fig:apt" parser = { end_of_options = "--", interleave = "permute", long_equals = true, short_attached = true, short_bundles = true } [[commands.source]] id = "fig" kind = "completion" url = "https://github.com/withfig/autocomplete/blob/master/src/apt.ts" license = "MIT" [[commands.subcommand]] path = ["install"] label = "Install packages" [[commands.subcommand.source]] id = "fig" kind = "completion" url = "https://github.com/withfig/autocomplete/blob/master/src/apt.ts" license = "MIT" [[commands.subcommand.field]] id = "packages" label = "Packages" type = "string" position = 0 multiple = true sources = ["fig"] [[commands.subcommand.field]] id = "yes" label = "Assume yes" type = "boolean" option = ["-y"] sources = ["fig"] [[commands.subcommand.field]] id = "simulate" label = "Simulate only" type = "boolean" option = ["-s", "--simulate"] sources = ["fig"] [[commands.subcommand.field]] id = "reinstall" label = "Reinstall" type = "boolean" option = ["--reinstall"] sources = ["fig"] [[commands.subcommand.field]] id = "fix_broken" label = "Fix broken" type = "boolean" option = ["-f", "--fix-broken"] sources = ["fig"] [[commands.subcommand.task]] id = "install" label = "Install" fields = ["packages", "yes"] required = ["packages"] [[commands.subcommand.task]] id = "preview" label = "Preview install" fields = ["packages", "simulate"] required = ["packages"] [[commands.subcommand.group]] id = "basic" label = "Basic" fields = ["packages", "yes", "simulate", "reinstall", "fix_broken"] [[commands.subcommand]] path = ["search"] label = "Search packages" [[commands.subcommand.source]] id = "fig" kind = "completion" url = "https://github.com/withfig/autocomplete/blob/master/src/apt.ts" license = "MIT" [[commands.subcommand.field]] id = "query" label = "Query" type = "string" position = 0 sources = ["fig"] [[commands.subcommand.task]] id = "search" label = "Search" fields = ["query"] required = ["query"] [[commands.subcommand.group]] id = "basic" label = "Basic" fields = ["query"] [[commands.subcommand]] path = ["list"] label = "List packages" [[commands.subcommand.source]] id = "fig" kind = "completion" url = "https://github.com/withfig/autocomplete/blob/master/src/apt.ts" license = "MIT" [[commands.subcommand.field]] id = "installed" label = "Installed only" type = "boolean" option = ["--installed"] sources = ["fig"] [[commands.subcommand.field]] id = "upgradable" label = "Upgradable only" type = "boolean" option = ["--upgradable"] sources = ["fig"] [[commands.subcommand.task]] id = "upgradable" label = "Show upgradable" fields = ["upgradable"] required = ["upgradable"] [[commands.subcommand.group]] id = "basic" label = "Basic" fields = ["installed", "upgradable"]