/*! * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ import { Fragment, h } from 'preact'; import { CliCommandRenderable } from '../entities/renderables'; import { REFERENCE_MEMBERS, REFERENCE_MEMBERS_CONTAINER } from '../styling/css-classes'; import { CliCard } from './cli-card'; import { HeaderCli } from './header-cli'; import { RawHtml } from './raw-html'; /** Component to render a CLI command reference document. */ export function CliCommandReference(entry: CliCommandRenderable) { return (
ng {commandName(entry, command)}
{entry.argumentsLabel ? : <>>}
{entry.hasOptions ? : <>>}
This command has the following sub-commands