id = "next" name = "Next.js" description = "React framework CLI to develop, build and start applications." homepage = "https://nextjs.org" executables = ["next"] [commands] format = 1 label = "Next.js commands" description = "Start the dev server, build for production, or start the production server." quality = "ai-draft" base = "fig:next" 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/next.ts" license = "MIT" [[commands.subcommand]] path = ["dev"] label = "Start dev server" description = "Run the application in development mode." [[commands.subcommand.source]] id = "fig" kind = "completion" url = "https://github.com/withfig/autocomplete/blob/master/src/next.ts" license = "MIT" [[commands.subcommand.field]] id = "dir" label = "Project directory" type = "path" position = 0 path = { kind = "directory", role = "input" } sources = ["fig"] [[commands.subcommand.field]] id = "port" label = "Port" type = "integer" option = ["--port", "-p"] sources = ["fig"] [[commands.subcommand.field]] id = "hostname" label = "Hostname" type = "string" option = ["--hostname", "-H"] sources = ["fig"] [[commands.subcommand.task]] id = "dev" label = "Dev server" fields = ["dir", "port", "hostname"] required = [] [[commands.subcommand.group]] id = "basic" label = "Basic" fields = ["dir", "port", "hostname"] [[commands.subcommand]] path = ["build"] label = "Production build" description = "Create an optimized production build." [[commands.subcommand.source]] id = "fig" kind = "completion" url = "https://github.com/withfig/autocomplete/blob/master/src/next.ts" license = "MIT" [[commands.subcommand.field]] id = "dir" label = "Project directory" type = "path" position = 0 path = { kind = "directory", role = "input" } sources = ["fig"] [[commands.subcommand.field]] id = "profile" label = "Enable production profiling" type = "boolean" option = ["--profile"] sources = ["fig"] [[commands.subcommand.field]] id = "debug" label = "Verbose build output" type = "boolean" option = ["--debug"] sources = ["fig"] [[commands.subcommand.task]] id = "build" label = "Build" fields = ["dir", "profile", "debug"] required = [] [[commands.subcommand.group]] id = "basic" label = "Basic" fields = ["dir", "profile", "debug"] [[commands.subcommand]] path = ["start"] label = "Start production server" description = "Run the built application in production mode." [[commands.subcommand.source]] id = "fig" kind = "completion" url = "https://github.com/withfig/autocomplete/blob/master/src/next.ts" license = "MIT" [[commands.subcommand.field]] id = "dir" label = "Project directory" type = "path" position = 0 path = { kind = "directory", role = "input" } sources = ["fig"] [[commands.subcommand.field]] id = "port" label = "Port" type = "integer" option = ["--port", "-p"] sources = ["fig"] [[commands.subcommand.field]] id = "hostname" label = "Hostname" type = "string" option = ["--hostname", "-H"] sources = ["fig"] [[commands.subcommand.task]] id = "start" label = "Production server" fields = ["dir", "port", "hostname"] required = [] [[commands.subcommand.group]] id = "basic" label = "Basic" fields = ["dir", "port", "hostname"]