id = "nx" name = "Nx" description = "Smart build system and monorepo tooling." homepage = "https://nx.dev" executables = ["nx"] [commands] format = 1 label = "Nx commands" description = "Run targets across projects or only affected projects." quality = "ai-draft" base = "fig:nx" 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/nx.ts" license = "MIT" [[commands.subcommand]] path = ["run-many"] label = "Run target for many projects" description = "Run targets for listed projects or all of them." [[commands.subcommand.source]] id = "fig" kind = "completion" url = "https://github.com/withfig/autocomplete/blob/master/src/nx.ts" license = "MIT" [[commands.subcommand.field]] id = "targets" label = "Targets" type = "string" option = ["--targets"] sources = ["fig"] [[commands.subcommand.field]] id = "projects" label = "Projects" type = "string" option = ["--projects"] sources = ["fig"] [[commands.subcommand.field]] id = "all" label = "All projects" type = "boolean" option = ["--all"] sources = ["fig"] [[commands.subcommand.field]] id = "configuration" label = "Configuration" type = "string" option = ["--configuration", "-c"] sources = ["fig"] [[commands.subcommand.field]] id = "exclude" label = "Exclude projects" type = "string" option = ["--exclude"] sources = ["fig"] [[commands.subcommand.field]] id = "parallel" label = "Max parallel processes" type = "integer" option = ["--parallel"] sources = ["fig"] [[commands.subcommand.field]] id = "skip_cache" label = "Skip Nx cache" type = "boolean" option = ["--skip-nx-cache"] sources = ["fig"] [[commands.subcommand.field]] id = "bail" label = "Stop after first failure" type = "boolean" option = ["--nx-bail"] sources = ["fig"] [[commands.subcommand.field]] id = "graph" label = "Show task graph" type = "boolean" option = ["--graph"] sources = ["fig"] [[commands.subcommand.field]] id = "verbose" label = "Verbose" type = "boolean" option = ["--verbose"] sources = ["fig"] [[commands.subcommand.task]] id = "all" label = "Run targets on all projects" set = { all = [true] } fields = ["targets", "all", "exclude", "parallel", "skip_cache"] required = ["targets"] [[commands.subcommand.group]] id = "basic" label = "Basic" fields = ["targets", "projects", "all", "exclude", "parallel"] [[commands.subcommand.group]] id = "advanced" label = "Advanced" fields = ["configuration", "skip_cache", "bail", "graph", "verbose"] [[commands.subcommand]] path = ["affected"] label = "Run target for affected projects" description = "Run targets for projects affected by changes." [[commands.subcommand.source]] id = "fig" kind = "completion" url = "https://github.com/withfig/autocomplete/blob/master/src/nx.ts" license = "MIT" [[commands.subcommand.field]] id = "targets" label = "Targets" type = "string" option = ["--targets"] sources = ["fig"] [[commands.subcommand.field]] id = "base" label = "Base commit" type = "string" option = ["--base"] sources = ["fig"] [[commands.subcommand.field]] id = "head" label = "Head commit" type = "string" option = ["--head"] sources = ["fig"] [[commands.subcommand.field]] id = "uncommitted" label = "Uncommitted changes" type = "boolean" option = ["--uncommitted"] sources = ["fig"] [[commands.subcommand.field]] id = "untracked" label = "Untracked changes" type = "boolean" option = ["--untracked"] sources = ["fig"] [[commands.subcommand.field]] id = "configuration" label = "Configuration" type = "string" option = ["--configuration", "-c"] sources = ["fig"] [[commands.subcommand.field]] id = "exclude" label = "Exclude projects" type = "string" option = ["--exclude"] sources = ["fig"] [[commands.subcommand.field]] id = "parallel" label = "Max parallel processes" type = "integer" option = ["--parallel"] sources = ["fig"] [[commands.subcommand.field]] id = "skip_cache" label = "Skip Nx cache" type = "boolean" option = ["--skip-nx-cache"] sources = ["fig"] [[commands.subcommand.field]] id = "bail" label = "Stop after first failure" type = "boolean" option = ["--nx-bail"] sources = ["fig"] [[commands.subcommand.field]] id = "graph" label = "Show task graph" type = "boolean" option = ["--graph"] sources = ["fig"] [[commands.subcommand.field]] id = "verbose" label = "Verbose" type = "boolean" option = ["--verbose"] sources = ["fig"] [[commands.subcommand.task]] id = "vs-main" label = "Affected since main" set = { base = ["main"] } fields = ["targets", "base", "head", "parallel"] required = ["targets"] [[commands.subcommand.group]] id = "basic" label = "Basic" fields = ["targets", "base", "head", "uncommitted", "untracked"] [[commands.subcommand.group]] id = "advanced" label = "Advanced" fields = ["configuration", "exclude", "parallel", "skip_cache", "bail", "graph", "verbose"]