angular/angular-cli

Generate and manage schematic configuration files

开放

#22,288 创建于 2021年12月2日

 (11 条评论) (3 个反应) (0 位负责人)TypeScript (11,999 个派生)batch import
area: @angular-devkit/schematics-clifeaturefeature: insufficient voteshelp wanted

仓库指标

星标
 (26,585 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

🚀 Feature request

Edit: The feature described in this comment already exists as schematics blank, the real feature request is here.

Command (mark with an x)

  • generate

Description

It came up in an Angular Nation discussion today that making a new schematic is really difficult and requires a lot of steps with complex documentation. I think this came up before but I wasn't able to find an existing issue quickly.

Describe the solution you'd like

Ideally we would have something like ng generate schematic (or schematics new) which could create a new schematic. We'll probably have to workshop how to support both creating a new collection and adding to an existing collection. This would also help improve some of the documentation, since users can get started with schematics much easily.

Describe alternatives you've considered

Alternative is to just document everything and make users type everything out by hand, which is how it works today.

/cc @kroeder.

贡献者指南