id = "mas" name = "mas" description = "Command line interface for the Mac App Store." executables = ["mas"] platforms = ["macos"] [commands] format = 1 label = "Mac App Store CLI" description = "Search and install Mac App Store apps." quality = "ai-draft" base = "fig:mas" 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/mas.ts" license = "MIT" [[commands.subcommand]] path = ["search"] label = "Search for apps" description = "Search for apps from the Mac App Store." [[commands.subcommand.source]] id = "fig" kind = "completion" url = "https://github.com/withfig/autocomplete/blob/master/src/mas.ts" license = "MIT" [[commands.subcommand.field]] id = "query" label = "Search term" 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 = ["install"] label = "Install an app" description = "Install an application by its App Store ID." [[commands.subcommand.source]] id = "fig" kind = "completion" url = "https://github.com/withfig/autocomplete/blob/master/src/mas.ts" license = "MIT" [[commands.subcommand.field]] id = "app" label = "App ID" type = "string" position = 0 effect = "exec" sources = ["fig"] [[commands.subcommand.task]] id = "install" label = "Install" fields = ["app"] required = ["app"] [[commands.subcommand.group]] id = "basic" label = "Basic" fields = ["app"]