id = "elm-json" name = "elm-json" homepage = "https://github.com/zwilias/elm-json" description = "Install, upgrade and remove Elm dependencies in elm.json." executables = ["elm-json"] [commands] format = 1 label = "elm-json" description = "Manage the dependencies in an elm.json file." quality = "ai-draft" base = "fig:elm-json" 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/elm-json.ts" license = "MIT" [[commands.field]] id = "offline" label = "Offline mode" type = "boolean" option = ["--offline"] sources = ["fig"] [[commands.group]] id = "basic" label = "Basic" fields = ["offline"] [[commands.subcommand]] path = ["install"] label = "Install a package" description = "Add a package, e.g. elm/core or elm/core@1.0.2. Updates elm.json." [[commands.subcommand.source]] id = "fig" kind = "completion" url = "https://github.com/withfig/autocomplete/blob/master/src/elm-json.ts" license = "MIT" [[commands.subcommand.field]] id = "package" label = "Package" type = "string" position = 0 multiple = true sources = ["fig"] [[commands.subcommand.field]] id = "test" label = "As test dependency" type = "boolean" option = ["--test"] sources = ["fig"] [[commands.subcommand.field]] id = "yes" label = "Answer yes to prompts" type = "boolean" option = ["--yes"] sources = ["fig"] [[commands.subcommand.task]] id = "install" label = "Install package" fields = ["package", "test"] required = ["package"] [[commands.subcommand.group]] id = "basic" label = "Basic" fields = ["package", "test", "yes"] [[commands.subcommand]] path = ["tree"] label = "Dependency tree" description = "List the whole dependency graph as a tree." [[commands.subcommand.source]] id = "fig" kind = "completion" url = "https://github.com/withfig/autocomplete/blob/master/src/elm-json.ts" license = "MIT" [[commands.subcommand.field]] id = "test" label = "Promote test dependencies" type = "boolean" option = ["--test"] sources = ["fig"] [[commands.subcommand.task]] id = "tree" label = "Show tree" fields = ["test"] required = [] [[commands.subcommand.group]] id = "basic" label = "Basic" fields = ["test"]