{
  "name": "ng",
  "description": "CLI interface for Angular",
  "subcommands": [
    {
      "name": "new",
      "description": "Create a new Angular app",
      "options": [
        {
          "names": [
            "--create-application"
          ],
          "description": "Create a default application?",
          "takes_arg": true,
          "arg": {
            "name": "project",
            "suggestions": [
              "true",
              "false"
            ]
          }
        }
      ],
      "args": [
        {
          "name": "name"
        }
      ]
    },
    {
      "name": "generate",
      "description": "Generate new files",
      "subcommands": [
        {
          "name": "application",
          "description": "Generates a new application",
          "options": [
            {
              "names": [
                "--style"
              ],
              "takes_arg": true,
              "arg": {
                "name": "extension",
                "suggestions": [
                  "css",
                  "scss",
                  "sass",
                  "less",
                  "styl"
                ]
              }
            }
          ],
          "args": [
            {
              "name": "name",
              "description": "Name of the new app"
            }
          ]
        },
        {
          "name": "component",
          "description": "Generate a new component",
          "options": [
            {
              "names": [
                "--project"
              ],
              "description": "Project name",
              "takes_arg": true
            },
            {
              "names": [
                "--change-detection",
                "-c"
              ],
              "description": "The change detection strategy to use",
              "takes_arg": true,
              "arg": {
                "name": "strategy",
                "suggestions": [
                  "Default",
                  "OnPush"
                ]
              }
            },
            {
              "names": [
                "--display-block",
                "-b"
              ],
              "description": "Add :host block to styles",
              "takes_arg": true,
              "arg": {
                "name": "boolean",
                "suggestions": [
                  "true",
                  "false"
                ]
              }
            },
            {
              "names": [
                "--flat"
              ],
              "description": "Create at the top level",
              "takes_arg": true,
              "arg": {
                "name": "boolean",
                "suggestions": [
                  "true",
                  "false"
                ]
              }
            }
          ],
          "args": [
            {
              "name": "name",
              "description": "Component name"
            }
          ]
        },
        {
          "name": "library",
          "description": "Generates a new library",
          "args": [
            {
              "name": "name"
            }
          ]
        },
        {
          "name": "class",
          "description": "Generates a class",
          "options": [
            {
              "names": [
                "--project"
              ],
              "description": "Project name",
              "takes_arg": true
            }
          ],
          "args": [
            {
              "name": "name"
            }
          ]
        }
      ],
      "args": [
        {
          "name": "schematic"
        }
      ]
    },
    {
      "name": "version",
      "description": "View your Angular CLI version (update for Angular 14+)"
    }
  ],
  "options": [
    {
      "names": [
        "--version"
      ],
      "description": "View your Angular CLI version"
    }
  ]
}
