mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
The underlying parser that the CLI uses changed which caused minor changes in the generated JSON helps especially for subcommands. The folder structure of the Angular CLI repo also changed slightly. More context: https://github.com/angular/angular-cli/pull/22778 PR Close #45225
35 lines
1.1 KiB
HTML
35 lines
1.1 KiB
HTML
{% import 'lib/cli.html' as cli %}
|
|
{% import "../lib/githubLinks.html" as github -%}
|
|
|
|
<article>
|
|
{% include 'include/cli-breadcrumb.html' %}
|
|
{% include 'include/cli-header.html' %}
|
|
|
|
<aio-toc class="embedded"></aio-toc>
|
|
|
|
<div class="cli-body">
|
|
{$ doc.shortDescription | marked $}
|
|
{$ cli.renderSyntax(doc) $}
|
|
|
|
{% if doc.longDescription.length %}
|
|
<h2 class="no-anchor">
|
|
{$ github.githubLinks(doc.longDescriptionDoc, cliVersionInfo) $}
|
|
Description
|
|
</h2>
|
|
{$ doc.longDescription | marked $}
|
|
{% endif%}
|
|
|
|
{% if doc.subcommands.length %}
|
|
<p>This command has the following <a href="#{$ doc.name $}-commands">commands</a>:<p>
|
|
<ul>
|
|
{% for subcommand in doc.subcommands %}
|
|
<li><code class="no-auto-link"><a class="code-anchor" href="#{$ subcommand.name $}-command">{$ subcommand.name $}</a></code></li>
|
|
{% endfor %}
|
|
</ul>
|
|
{% endif %}
|
|
|
|
{$ cli.renderArguments(doc.positionalOptions, 2) $}
|
|
{$ cli.renderNamedOptions(doc.namedOptions, 2) $}
|
|
{$ cli.renderSubcommands(doc) $}
|
|
</div>
|
|
</article>
|