feat(docs-infra): generate Angular CLI command reference (#25363)
PR Close #25363
This commit is contained in:

committed by
Kara Erickson

parent
39a67548ac
commit
f29b218060
18
aio/tools/transforms/templates/cli/cli-command.template.html
Normal file
18
aio/tools/transforms/templates/cli/cli-command.template.html
Normal file
@ -0,0 +1,18 @@
|
||||
{% import 'lib/cli.html' as cli %}
|
||||
|
||||
<article>
|
||||
{% include 'include/cli-breadcrumb.html' %}
|
||||
{% include 'include/cli-header.html' %}
|
||||
|
||||
<aio-toc class="embedded"></aio-toc>
|
||||
|
||||
<div class="cli-body">
|
||||
{$ doc.shortDescription | marked $}
|
||||
{$ doc.description | marked $}
|
||||
{$ cli.renderSyntax(doc) $}
|
||||
{$ cli.renderArguments(doc.positionalOptions, 2) $}
|
||||
{$ cli.renderNamedOptions(doc.namedOptions, 2) $}
|
||||
{$ cli.renderSubcommands(doc) $}
|
||||
{$ doc.longDescription | marked $}
|
||||
</div>
|
||||
</article>
|
Reference in New Issue
Block a user