{
  "name": "nest",
  "description": "Nest CLI",
  "subcommands": [
    {
      "name": "new",
      "aliases": [
        "n"
      ],
      "description": "Creates a new nest project",
      "args": [
        {
          "name": "project",
          "description": "The name of the project"
        }
      ]
    },
    {
      "name": "generate",
      "aliases": [
        "g"
      ],
      "description": "Generate and/or modifies files based on a schematic",
      "subcommands": [
        {
          "name": "application",
          "description": "Generate a new application workspace",
          "options": [
            {
              "names": [
                "-d",
                "--dry-run"
              ],
              "description": "Report actions that would be taken without writing out results"
            },
            {
              "names": [
                "-p",
                "--project"
              ],
              "description": "Project in which to generate files",
              "takes_arg": true,
              "arg": {
                "name": "project",
                "description": "Project in which to generate files"
              }
            },
            {
              "names": [
                "--flat"
              ],
              "description": "Enforce flat structure of generated element"
            },
            {
              "names": [
                "--spec"
              ],
              "description": "Enforce spec files generation (default: true)"
            },
            {
              "names": [
                "--no-spec"
              ],
              "description": "Disable spec files generation"
            },
            {
              "names": [
                "-c",
                "--collection"
              ],
              "description": "Schematics collection to use",
              "takes_arg": true,
              "arg": {
                "name": "collection",
                "description": "The collection name"
              }
            }
          ],
          "args": [
            {
              "name": "application",
              "description": "The name of the application"
            }
          ]
        },
        {
          "name": "class",
          "aliases": [
            "cl"
          ],
          "description": "Generate a new class",
          "options": [
            {
              "names": [
                "-d",
                "--dry-run"
              ],
              "description": "Report actions that would be taken without writing out results"
            },
            {
              "names": [
                "-p",
                "--project"
              ],
              "description": "Project in which to generate files",
              "takes_arg": true,
              "arg": {
                "name": "project",
                "description": "Project in which to generate files"
              }
            },
            {
              "names": [
                "--flat"
              ],
              "description": "Enforce flat structure of generated element"
            },
            {
              "names": [
                "--spec"
              ],
              "description": "Enforce spec files generation (default: true)"
            },
            {
              "names": [
                "--no-spec"
              ],
              "description": "Disable spec files generation"
            },
            {
              "names": [
                "-c",
                "--collection"
              ],
              "description": "Schematics collection to use",
              "takes_arg": true,
              "arg": {
                "name": "collection",
                "description": "The collection name"
              }
            }
          ],
          "args": [
            {
              "name": "class",
              "description": "The name of the class"
            }
          ]
        },
        {
          "name": "configuration",
          "aliases": [
            "config"
          ],
          "description": "Generate a CLI configuration file",
          "options": [
            {
              "names": [
                "-d",
                "--dry-run"
              ],
              "description": "Report actions that would be taken without writing out results"
            },
            {
              "names": [
                "-p",
                "--project"
              ],
              "description": "Project in which to generate files",
              "takes_arg": true,
              "arg": {
                "name": "project",
                "description": "Project in which to generate files"
              }
            },
            {
              "names": [
                "--flat"
              ],
              "description": "Enforce flat structure of generated element"
            },
            {
              "names": [
                "--spec"
              ],
              "description": "Enforce spec files generation (default: true)"
            },
            {
              "names": [
                "--no-spec"
              ],
              "description": "Disable spec files generation"
            },
            {
              "names": [
                "-c",
                "--collection"
              ],
              "description": "Schematics collection to use",
              "takes_arg": true,
              "arg": {
                "name": "collection",
                "description": "The collection name"
              }
            }
          ],
          "args": [
            {
              "name": "configuration",
              "description": "The name of the configuration"
            }
          ]
        },
        {
          "name": "controller",
          "aliases": [
            "co"
          ],
          "description": "Generate a controller declaration",
          "options": [
            {
              "names": [
                "-d",
                "--dry-run"
              ],
              "description": "Report actions that would be taken without writing out results"
            },
            {
              "names": [
                "-p",
                "--project"
              ],
              "description": "Project in which to generate files",
              "takes_arg": true,
              "arg": {
                "name": "project",
                "description": "Project in which to generate files"
              }
            },
            {
              "names": [
                "--flat"
              ],
              "description": "Enforce flat structure of generated element"
            },
            {
              "names": [
                "--spec"
              ],
              "description": "Enforce spec files generation (default: true)"
            },
            {
              "names": [
                "--no-spec"
              ],
              "description": "Disable spec files generation"
            },
            {
              "names": [
                "-c",
                "--collection"
              ],
              "description": "Schematics collection to use",
              "takes_arg": true,
              "arg": {
                "name": "collection",
                "description": "The collection name"
              }
            }
          ],
          "args": [
            {
              "name": "controller",
              "description": "The name of the controller"
            }
          ]
        },
        {
          "name": "decorator",
          "aliases": [
            "d"
          ],
          "description": "Generate a custom decorator",
          "options": [
            {
              "names": [
                "-d",
                "--dry-run"
              ],
              "description": "Report actions that would be taken without writing out results"
            },
            {
              "names": [
                "-p",
                "--project"
              ],
              "description": "Project in which to generate files",
              "takes_arg": true,
              "arg": {
                "name": "project",
                "description": "Project in which to generate files"
              }
            },
            {
              "names": [
                "--flat"
              ],
              "description": "Enforce flat structure of generated element"
            },
            {
              "names": [
                "--spec"
              ],
              "description": "Enforce spec files generation (default: true)"
            },
            {
              "names": [
                "--no-spec"
              ],
              "description": "Disable spec files generation"
            },
            {
              "names": [
                "-c",
                "--collection"
              ],
              "description": "Schematics collection to use",
              "takes_arg": true,
              "arg": {
                "name": "collection",
                "description": "The collection name"
              }
            }
          ],
          "args": [
            {
              "name": "decorator",
              "description": "The name of the decorator"
            }
          ]
        },
        {
          "name": "filter",
          "aliases": [
            "f"
          ],
          "description": "Generate a filter declaration",
          "options": [
            {
              "names": [
                "-d",
                "--dry-run"
              ],
              "description": "Report actions that would be taken without writing out results"
            },
            {
              "names": [
                "-p",
                "--project"
              ],
              "description": "Project in which to generate files",
              "takes_arg": true,
              "arg": {
                "name": "project",
                "description": "Project in which to generate files"
              }
            },
            {
              "names": [
                "--flat"
              ],
              "description": "Enforce flat structure of generated element"
            },
            {
              "names": [
                "--spec"
              ],
              "description": "Enforce spec files generation (default: true)"
            },
            {
              "names": [
                "--no-spec"
              ],
              "description": "Disable spec files generation"
            },
            {
              "names": [
                "-c",
                "--collection"
              ],
              "description": "Schematics collection to use",
              "takes_arg": true,
              "arg": {
                "name": "collection",
                "description": "The collection name"
              }
            }
          ],
          "args": [
            {
              "name": "filter",
              "description": "The name of the filter"
            }
          ]
        },
        {
          "name": "gateway",
          "aliases": [
            "ga"
          ],
          "description": "Generate a gateway declaration",
          "options": [
            {
              "names": [
                "-d",
                "--dry-run"
              ],
              "description": "Report actions that would be taken without writing out results"
            },
            {
              "names": [
                "-p",
                "--project"
              ],
              "description": "Project in which to generate files",
              "takes_arg": true,
              "arg": {
                "name": "project",
                "description": "Project in which to generate files"
              }
            },
            {
              "names": [
                "--flat"
              ],
              "description": "Enforce flat structure of generated element"
            },
            {
              "names": [
                "--spec"
              ],
              "description": "Enforce spec files generation (default: true)"
            },
            {
              "names": [
                "--no-spec"
              ],
              "description": "Disable spec files generation"
            },
            {
              "names": [
                "-c",
                "--collection"
              ],
              "description": "Schematics collection to use",
              "takes_arg": true,
              "arg": {
                "name": "collection",
                "description": "The collection name"
              }
            }
          ],
          "args": [
            {
              "name": "gateway",
              "description": "The name of the gateway"
            }
          ]
        },
        {
          "name": "guard",
          "aliases": [
            "gu"
          ],
          "description": "Generate a guard declaration",
          "options": [
            {
              "names": [
                "-d",
                "--dry-run"
              ],
              "description": "Report actions that would be taken without writing out results"
            },
            {
              "names": [
                "-p",
                "--project"
              ],
              "description": "Project in which to generate files",
              "takes_arg": true,
              "arg": {
                "name": "project",
                "description": "Project in which to generate files"
              }
            },
            {
              "names": [
                "--flat"
              ],
              "description": "Enforce flat structure of generated element"
            },
            {
              "names": [
                "--spec"
              ],
              "description": "Enforce spec files generation (default: true)"
            },
            {
              "names": [
                "--no-spec"
              ],
              "description": "Disable spec files generation"
            },
            {
              "names": [
                "-c",
                "--collection"
              ],
              "description": "Schematics collection to use",
              "takes_arg": true,
              "arg": {
                "name": "collection",
                "description": "The collection name"
              }
            }
          ],
          "args": [
            {
              "name": "guard",
              "description": "The name of the guard"
            }
          ]
        },
        {
          "name": "interceptor",
          "aliases": [
            "in"
          ],
          "description": "Generate an interceptor declaration",
          "options": [
            {
              "names": [
                "-d",
                "--dry-run"
              ],
              "description": "Report actions that would be taken without writing out results"
            },
            {
              "names": [
                "-p",
                "--project"
              ],
              "description": "Project in which to generate files",
              "takes_arg": true,
              "arg": {
                "name": "project",
                "description": "Project in which to generate files"
              }
            },
            {
              "names": [
                "--flat"
              ],
              "description": "Enforce flat structure of generated element"
            },
            {
              "names": [
                "--spec"
              ],
              "description": "Enforce spec files generation (default: true)"
            },
            {
              "names": [
                "--no-spec"
              ],
              "description": "Disable spec files generation"
            },
            {
              "names": [
                "-c",
                "--collection"
              ],
              "description": "Schematics collection to use",
              "takes_arg": true,
              "arg": {
                "name": "collection",
                "description": "The collection name"
              }
            }
          ],
          "args": [
            {
              "name": "interceptor",
              "description": "The name of the interceptor"
            }
          ]
        },
        {
          "name": "interface",
          "description": "Generate an interface",
          "options": [
            {
              "names": [
                "-d",
                "--dry-run"
              ],
              "description": "Report actions that would be taken without writing out results"
            },
            {
              "names": [
                "-p",
                "--project"
              ],
              "description": "Project in which to generate files",
              "takes_arg": true,
              "arg": {
                "name": "project",
                "description": "Project in which to generate files"
              }
            },
            {
              "names": [
                "--flat"
              ],
              "description": "Enforce flat structure of generated element"
            },
            {
              "names": [
                "--spec"
              ],
              "description": "Enforce spec files generation (default: true)"
            },
            {
              "names": [
                "--no-spec"
              ],
              "description": "Disable spec files generation"
            },
            {
              "names": [
                "-c",
                "--collection"
              ],
              "description": "Schematics collection to use",
              "takes_arg": true,
              "arg": {
                "name": "collection",
                "description": "The collection name"
              }
            }
          ],
          "args": [
            {
              "name": "interface",
              "description": "The name of the interface"
            }
          ]
        },
        {
          "name": "middleware",
          "aliases": [
            "mi"
          ],
          "description": "Generate a middleware declaration",
          "options": [
            {
              "names": [
                "-d",
                "--dry-run"
              ],
              "description": "Report actions that would be taken without writing out results"
            },
            {
              "names": [
                "-p",
                "--project"
              ],
              "description": "Project in which to generate files",
              "takes_arg": true,
              "arg": {
                "name": "project",
                "description": "Project in which to generate files"
              }
            },
            {
              "names": [
                "--flat"
              ],
              "description": "Enforce flat structure of generated element"
            },
            {
              "names": [
                "--spec"
              ],
              "description": "Enforce spec files generation (default: true)"
            },
            {
              "names": [
                "--no-spec"
              ],
              "description": "Disable spec files generation"
            },
            {
              "names": [
                "-c",
                "--collection"
              ],
              "description": "Schematics collection to use",
              "takes_arg": true,
              "arg": {
                "name": "collection",
                "description": "The collection name"
              }
            }
          ],
          "args": [
            {
              "name": "middleware",
              "description": "The name of the middleware"
            }
          ]
        },
        {
          "name": "module",
          "aliases": [
            "mo"
          ],
          "description": "Generate a module declaration",
          "options": [
            {
              "names": [
                "-d",
                "--dry-run"
              ],
              "description": "Report actions that would be taken without writing out results"
            },
            {
              "names": [
                "-p",
                "--project"
              ],
              "description": "Project in which to generate files",
              "takes_arg": true,
              "arg": {
                "name": "project",
                "description": "Project in which to generate files"
              }
            },
            {
              "names": [
                "--flat"
              ],
              "description": "Enforce flat structure of generated element"
            },
            {
              "names": [
                "--spec"
              ],
              "description": "Enforce spec files generation (default: true)"
            },
            {
              "names": [
                "--no-spec"
              ],
              "description": "Disable spec files generation"
            },
            {
              "names": [
                "-c",
                "--collection"
              ],
              "description": "Schematics collection to use",
              "takes_arg": true,
              "arg": {
                "name": "collection",
                "description": "The collection name"
              }
            }
          ],
          "args": [
            {
              "name": "module",
              "description": "The name of the module"
            }
          ]
        },
        {
          "name": "pipe",
          "aliases": [
            "p"
          ],
          "description": "Generate a pipe declaration",
          "options": [
            {
              "names": [
                "-d",
                "--dry-run"
              ],
              "description": "Report actions that would be taken without writing out results"
            },
            {
              "names": [
                "-p",
                "--project"
              ],
              "description": "Project in which to generate files",
              "takes_arg": true,
              "arg": {
                "name": "project",
                "description": "Project in which to generate files"
              }
            },
            {
              "names": [
                "--flat"
              ],
              "description": "Enforce flat structure of generated element"
            },
            {
              "names": [
                "--spec"
              ],
              "description": "Enforce spec files generation (default: true)"
            },
            {
              "names": [
                "--no-spec"
              ],
              "description": "Disable spec files generation"
            },
            {
              "names": [
                "-c",
                "--collection"
              ],
              "description": "Schematics collection to use",
              "takes_arg": true,
              "arg": {
                "name": "collection",
                "description": "The collection name"
              }
            }
          ],
          "args": [
            {
              "name": "pipe",
              "description": "The name of the pipe"
            }
          ]
        },
        {
          "name": "provider",
          "aliases": [
            "pr"
          ],
          "description": "Generate a provider declaration",
          "options": [
            {
              "names": [
                "-d",
                "--dry-run"
              ],
              "description": "Report actions that would be taken without writing out results"
            },
            {
              "names": [
                "-p",
                "--project"
              ],
              "description": "Project in which to generate files",
              "takes_arg": true,
              "arg": {
                "name": "project",
                "description": "Project in which to generate files"
              }
            },
            {
              "names": [
                "--flat"
              ],
              "description": "Enforce flat structure of generated element"
            },
            {
              "names": [
                "--spec"
              ],
              "description": "Enforce spec files generation (default: true)"
            },
            {
              "names": [
                "--no-spec"
              ],
              "description": "Disable spec files generation"
            },
            {
              "names": [
                "-c",
                "--collection"
              ],
              "description": "Schematics collection to use",
              "takes_arg": true,
              "arg": {
                "name": "collection",
                "description": "The collection name"
              }
            }
          ],
          "args": [
            {
              "name": "provider",
              "description": "The name of the provider"
            }
          ]
        },
        {
          "name": "resolver",
          "aliases": [
            "r"
          ],
          "description": "Generate a GraphQL resolver declaration",
          "options": [
            {
              "names": [
                "-d",
                "--dry-run"
              ],
              "description": "Report actions that would be taken without writing out results"
            },
            {
              "names": [
                "-p",
                "--project"
              ],
              "description": "Project in which to generate files",
              "takes_arg": true,
              "arg": {
                "name": "project",
                "description": "Project in which to generate files"
              }
            },
            {
              "names": [
                "--flat"
              ],
              "description": "Enforce flat structure of generated element"
            },
            {
              "names": [
                "--spec"
              ],
              "description": "Enforce spec files generation (default: true)"
            },
            {
              "names": [
                "--no-spec"
              ],
              "description": "Disable spec files generation"
            },
            {
              "names": [
                "-c",
                "--collection"
              ],
              "description": "Schematics collection to use",
              "takes_arg": true,
              "arg": {
                "name": "collection",
                "description": "The collection name"
              }
            }
          ],
          "args": [
            {
              "name": "resolver",
              "description": "The name of the resolver"
            }
          ]
        },
        {
          "name": "service",
          "aliases": [
            "s"
          ],
          "description": "Generate a service declaration",
          "options": [
            {
              "names": [
                "-d",
                "--dry-run"
              ],
              "description": "Report actions that would be taken without writing out results"
            },
            {
              "names": [
                "-p",
                "--project"
              ],
              "description": "Project in which to generate files",
              "takes_arg": true,
              "arg": {
                "name": "project",
                "description": "Project in which to generate files"
              }
            },
            {
              "names": [
                "--flat"
              ],
              "description": "Enforce flat structure of generated element"
            },
            {
              "names": [
                "--spec"
              ],
              "description": "Enforce spec files generation (default: true)"
            },
            {
              "names": [
                "--no-spec"
              ],
              "description": "Disable spec files generation"
            },
            {
              "names": [
                "-c",
                "--collection"
              ],
              "description": "Schematics collection to use",
              "takes_arg": true,
              "arg": {
                "name": "collection",
                "description": "The collection name"
              }
            }
          ],
          "args": [
            {
              "name": "service",
              "description": "The name of the service"
            }
          ]
        },
        {
          "name": "library",
          "aliases": [
            "lib"
          ],
          "description": "Generate a new library within a monorepo",
          "options": [
            {
              "names": [
                "-d",
                "--dry-run"
              ],
              "description": "Report actions that would be taken without writing out results"
            },
            {
              "names": [
                "-p",
                "--project"
              ],
              "description": "Project in which to generate files",
              "takes_arg": true,
              "arg": {
                "name": "project",
                "description": "Project in which to generate files"
              }
            },
            {
              "names": [
                "--flat"
              ],
              "description": "Enforce flat structure of generated element"
            },
            {
              "names": [
                "--spec"
              ],
              "description": "Enforce spec files generation (default: true)"
            },
            {
              "names": [
                "--no-spec"
              ],
              "description": "Disable spec files generation"
            },
            {
              "names": [
                "-c",
                "--collection"
              ],
              "description": "Schematics collection to use",
              "takes_arg": true,
              "arg": {
                "name": "collection",
                "description": "The collection name"
              }
            }
          ],
          "args": [
            {
              "name": "library",
              "description": "The name of the library"
            }
          ]
        },
        {
          "name": "sub-app",
          "aliases": [
            "app"
          ],
          "description": "Generate a new application within a monorepo",
          "options": [
            {
              "names": [
                "-d",
                "--dry-run"
              ],
              "description": "Report actions that would be taken without writing out results"
            },
            {
              "names": [
                "-p",
                "--project"
              ],
              "description": "Project in which to generate files",
              "takes_arg": true,
              "arg": {
                "name": "project",
                "description": "Project in which to generate files"
              }
            },
            {
              "names": [
                "--flat"
              ],
              "description": "Enforce flat structure of generated element"
            },
            {
              "names": [
                "--spec"
              ],
              "description": "Enforce spec files generation (default: true)"
            },
            {
              "names": [
                "--no-spec"
              ],
              "description": "Disable spec files generation"
            },
            {
              "names": [
                "-c",
                "--collection"
              ],
              "description": "Schematics collection to use",
              "takes_arg": true,
              "arg": {
                "name": "collection",
                "description": "The collection name"
              }
            }
          ],
          "args": [
            {
              "name": "sub-app",
              "description": "The name of the sub-app"
            }
          ]
        },
        {
          "name": "resource",
          "aliases": [
            "res"
          ],
          "description": "Generate a new CRUD resource",
          "options": [
            {
              "names": [
                "-d",
                "--dry-run"
              ],
              "description": "Report actions that would be taken without writing out results"
            },
            {
              "names": [
                "-p",
                "--project"
              ],
              "description": "Project in which to generate files",
              "takes_arg": true,
              "arg": {
                "name": "project",
                "description": "Project in which to generate files"
              }
            },
            {
              "names": [
                "--flat"
              ],
              "description": "Enforce flat structure of generated element"
            },
            {
              "names": [
                "--spec"
              ],
              "description": "Enforce spec files generation (default: true)"
            },
            {
              "names": [
                "--no-spec"
              ],
              "description": "Disable spec files generation"
            },
            {
              "names": [
                "-c",
                "--collection"
              ],
              "description": "Schematics collection to use",
              "takes_arg": true,
              "arg": {
                "name": "collection",
                "description": "The collection name"
              }
            }
          ],
          "args": [
            {
              "name": "resource",
              "description": "The name of the resource"
            }
          ]
        }
      ]
    },
    {
      "name": "build",
      "description": "Builds Nest application",
      "options": [
        {
          "names": [
            "-d",
            "--dry-run"
          ],
          "description": "Report actions that would be taken without writing out results"
        },
        {
          "names": [
            "-p",
            "--project"
          ],
          "description": "Project in which to generate files",
          "takes_arg": true,
          "arg": {
            "name": "project",
            "description": "Project in which to generate files"
          }
        },
        {
          "names": [
            "--flat"
          ],
          "description": "Enforce flat structure of generated element"
        },
        {
          "names": [
            "--spec"
          ],
          "description": "Enforce spec files generation (default: true)"
        },
        {
          "names": [
            "--no-spec"
          ],
          "description": "Disable spec files generation"
        },
        {
          "names": [
            "-c",
            "--collection"
          ],
          "description": "Schematics collection to use",
          "takes_arg": true,
          "arg": {
            "name": "collection",
            "description": "The collection name"
          }
        }
      ],
      "args": [
        {
          "name": "app",
          "description": "The name of the app"
        }
      ]
    },
    {
      "name": "start",
      "description": "Run Nest application",
      "options": [
        {
          "names": [
            "-d",
            "--dry-run"
          ],
          "description": "Report actions that would be taken without writing out results"
        },
        {
          "names": [
            "-p",
            "--project"
          ],
          "description": "Project in which to generate files",
          "takes_arg": true,
          "arg": {
            "name": "project",
            "description": "Project in which to generate files"
          }
        },
        {
          "names": [
            "--flat"
          ],
          "description": "Enforce flat structure of generated element"
        },
        {
          "names": [
            "--spec"
          ],
          "description": "Enforce spec files generation (default: true)"
        },
        {
          "names": [
            "--no-spec"
          ],
          "description": "Disable spec files generation"
        },
        {
          "names": [
            "-c",
            "--collection"
          ],
          "description": "Schematics collection to use",
          "takes_arg": true,
          "arg": {
            "name": "collection",
            "description": "The collection name"
          }
        }
      ],
      "args": [
        {
          "name": "app",
          "description": "The name of the app"
        }
      ]
    },
    {
      "name": "info",
      "aliases": [
        "i"
      ],
      "description": "Display Nest project details"
    },
    {
      "name": "update",
      "aliases": [
        "u"
      ],
      "description": "Update Nest dependencies",
      "options": [
        {
          "names": [
            "-d",
            "--dry-run"
          ],
          "description": "Report actions that would be taken without writing out results"
        },
        {
          "names": [
            "-p",
            "--project"
          ],
          "description": "Project in which to generate files",
          "takes_arg": true,
          "arg": {
            "name": "project",
            "description": "Project in which to generate files"
          }
        },
        {
          "names": [
            "--flat"
          ],
          "description": "Enforce flat structure of generated element"
        },
        {
          "names": [
            "--spec"
          ],
          "description": "Enforce spec files generation (default: true)"
        },
        {
          "names": [
            "--no-spec"
          ],
          "description": "Disable spec files generation"
        },
        {
          "names": [
            "-c",
            "--collection"
          ],
          "description": "Schematics collection to use",
          "takes_arg": true,
          "arg": {
            "name": "collection",
            "description": "The collection name"
          }
        }
      ]
    }
  ],
  "options": [
    {
      "names": [
        "--help",
        "-h"
      ],
      "description": "Show help for nest"
    }
  ]
}
