[[command]]
name = "next"
description = "CLI for the Next.js React framework. next info is a read-only command that prints environment details for debugging. next lint runs ESLint static analysis on the codebase, which reads files but does not modify them. next build compiles the application into an optimized production build, writing output to the .next directory and executing build-time code (getStaticProps, generateStaticParams). Actively developed with frequent releases tied to the Next.js framework."
url = "https://nextjs.org/docs/api-reference/cli"
bare_flags = ["--help", "--version", "-h"]
[[command.sub]]
name = "info"
standalone = ["--help", "-h"]
[[command.sub]]
name = "lint"
level = "SafeRead"
standalone = ["--dir", "--help", "--quiet", "--strict", "-d", "-h"]
valued = [
"--cache-location", "--ext", "--max-warnings",
"--output-file", "--resolve-plugins-relative-to",
"-c",
]
[[command.sub]]
name = "build"
level = "SafeWrite"
standalone = ["--debug", "--help", "--lint", "--no-lint", "--profile", "-d", "-h"]