mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
Before ``` This command has the following commands: ``` Now ``` This command has the following sub-commands: ``` PR Close #47891
35 lines
1 KiB
HTML
35 lines
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">sub-commands</a>:<p>
|
|
<ul>
|
|
{% for subcommand in doc.subcommands %}
|
|
<li><a class="code-anchor" href="#{$ subcommand.name $}-command">{$ subcommand.name $}</a></li>
|
|
{% endfor %}
|
|
</ul>
|
|
{% endif %}
|
|
|
|
{$ cli.renderArguments(doc.positionalOptions, 2) $}
|
|
{$ cli.renderNamedOptions(doc.namedOptions, 2) $}
|
|
{$ cli.renderSubcommands(doc) $}
|
|
</div>
|
|
</article>
|