{
  "id": "angular-cli",
  "name": "Angular CLI",
  "homepage": "https://angular.dev/tools/cli",
  "description": "The Angular CLI is a command-line interface tool which allows you to scaffold, develop, test, deploy, and maintain Angular applications.",
  "icon": "SimpleIcons:angular",
  "executables": [
    "ng"
  ],
  "dotfiles": {
    "paths": [
      "[configHome]/angular/config.json",
      "[configHome]/angular/.angular-config.json",
      "~/.angular-config.json"
    ],
    "exclude": [],
    "secret": []
  },
  "commands": {
    "format": 1,
    "label": "Angular CLI",
    "description": "Create workspaces and generate code. build, serve and test are not in the completion data and are left out.",
    "quality": "ai-draft",
    "base": "fig:ng",
    "parser": {
      "end_of_options": "--",
      "interleave": "permute",
      "long_equals": false,
      "short_attached": true,
      "short_bundles": false
    },
    "source": [
      {
        "id": "fig",
        "kind": "completion",
        "url": "https://github.com/withfig/autocomplete/blob/master/src/ng.ts",
        "license": "MIT"
      }
    ],
    "subcommand": [
      {
        "path": [
          "new"
        ],
        "label": "Create a workspace",
        "description": "Create a new Angular workspace and initial application.",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/ng.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "name",
            "label": "Name",
            "type": "string",
            "position": 0,
            "sources": [
              "fig"
            ]
          },
          {
            "id": "create_application",
            "label": "Create default application",
            "type": "string",
            "option": [
              "--create-application"
            ],
            "suggestions": [
              {
                "value": "true",
                "label": "true"
              },
              {
                "value": "false",
                "label": "false"
              }
            ],
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "new",
            "label": "New workspace",
            "fields": [
              "name",
              "create_application"
            ],
            "required": [
              "name"
            ]
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "name",
              "create_application"
            ]
          }
        ]
      },
      {
        "path": [
          "generate",
          "component"
        ],
        "label": "Generate a component",
        "description": "Generate a new component. Only options present in the completion data are offered.",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/ng.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "name",
            "label": "Component name",
            "type": "string",
            "position": 0,
            "sources": [
              "fig"
            ]
          },
          {
            "id": "project",
            "label": "Project",
            "type": "string",
            "option": [
              "--project"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "change_detection",
            "label": "Change detection",
            "type": "string",
            "option": [
              "--change-detection",
              "-c"
            ],
            "suggestions": [
              {
                "value": "Default",
                "label": "Default"
              },
              {
                "value": "OnPush",
                "label": "OnPush"
              }
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "display_block",
            "label": "Add :host block style",
            "type": "string",
            "option": [
              "--display-block",
              "-b"
            ],
            "suggestions": [
              {
                "value": "true",
                "label": "true"
              },
              {
                "value": "false",
                "label": "false"
              }
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "flat",
            "label": "Create at top level",
            "type": "string",
            "option": [
              "--flat"
            ],
            "suggestions": [
              {
                "value": "true",
                "label": "true"
              },
              {
                "value": "false",
                "label": "false"
              }
            ],
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "component",
            "label": "Generate a component",
            "fields": [
              "name",
              "project",
              "change_detection"
            ],
            "required": [
              "name"
            ]
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "name",
              "project",
              "change_detection"
            ]
          },
          {
            "id": "advanced",
            "label": "Advanced",
            "fields": [
              "display_block",
              "flat"
            ]
          }
        ]
      },
      {
        "path": [
          "generate",
          "application"
        ],
        "label": "Generate an application",
        "description": "Generate a new application in an existing workspace.",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/ng.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "name",
            "label": "Application name",
            "type": "string",
            "position": 0,
            "sources": [
              "fig"
            ]
          },
          {
            "id": "style",
            "label": "Style extension",
            "type": "string",
            "option": [
              "--style"
            ],
            "suggestions": [
              {
                "value": "css",
                "label": "css"
              },
              {
                "value": "scss",
                "label": "scss"
              },
              {
                "value": "sass",
                "label": "sass"
              },
              {
                "value": "less",
                "label": "less"
              },
              {
                "value": "styl",
                "label": "styl"
              }
            ],
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "application",
            "label": "Generate an application",
            "fields": [
              "name",
              "style"
            ],
            "required": [
              "name"
            ]
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "name",
              "style"
            ]
          }
        ]
      }
    ]
  }
}
