id = "lerna" name = "Lerna" description = "Tool for managing JavaScript monorepos with multiple packages." homepage = "https://lerna.js.org" executables = ["lerna"] [commands] format = 1 label = "Lerna" description = "Run scripts and list packages. Publishing and versioning are left out." quality = "ai-draft" base = "fig:lerna" parser = { end_of_options = "--", interleave = "permute", long_equals = true, short_attached = true, short_bundles = false } [[commands.subcommand]] path = ["run"] label = "Run script" description = "Run an npm script in each package that contains it." [[commands.subcommand.source]] id = "fig" kind = "completion" url = "https://github.com/withfig/autocomplete/blob/master/src/lerna.ts" license = "MIT" [[commands.subcommand.field]] id = "script" label = "Script" type = "string" position = 0 sources = ["fig"] [[commands.subcommand.field]] id = "scope" label = "Scope glob" type = "string" option = ["--scope"] sources = ["fig"] [[commands.subcommand.field]] id = "ignore" label = "Ignore glob" type = "string" option = ["--ignore"] sources = ["fig"] [[commands.subcommand.field]] id = "concurrency" label = "Concurrency" type = "integer" option = ["--concurrency"] sources = ["fig"] [[commands.subcommand.field]] id = "stream" label = "Stream output" type = "boolean" option = ["--stream"] sources = ["fig"] [[commands.subcommand.field]] id = "parallel" label = "Run in parallel" type = "boolean" option = ["--parallel"] sources = ["fig"] [[commands.subcommand.field]] id = "no_bail" label = "Keep going on failure" type = "boolean" option = ["--no-bail"] sources = ["fig"] [[commands.subcommand.task]] id = "run" label = "Run script" fields = ["script", "scope", "stream"] required = ["script"] [[commands.subcommand.group]] id = "basic" label = "Basic" fields = ["script", "scope", "stream"] [[commands.subcommand.group]] id = "advanced" label = "Advanced" fields = ["ignore", "concurrency", "parallel", "no_bail"] [[commands.subcommand]] path = ["ls"] label = "List packages" description = "List local packages." [[commands.subcommand.source]] id = "fig" kind = "completion" url = "https://github.com/withfig/autocomplete/blob/master/src/lerna.ts" license = "MIT" [[commands.subcommand.field]] id = "json" label = "JSON" type = "boolean" option = ["--json"] sources = ["fig"] [[commands.subcommand.field]] id = "long" label = "Long" type = "boolean" option = ["--long", "-l"] sources = ["fig"] [[commands.subcommand.field]] id = "parseable" label = "Parseable" type = "boolean" option = ["--parseable", "-p"] sources = ["fig"] [[commands.subcommand.field]] id = "toposort" label = "Topological order" type = "boolean" option = ["--toposort"] sources = ["fig"] [[commands.subcommand.field]] id = "graph" label = "Dependency graph" type = "boolean" option = ["--graph"] sources = ["fig"] [[commands.subcommand.task]] id = "ls" label = "List" fields = ["long", "json"] required = [] [[commands.subcommand.group]] id = "basic" label = "Basic" fields = ["json", "long"] [[commands.subcommand.group]] id = "advanced" label = "Advanced" fields = ["parseable", "toposort", "graph"]