website/docs/commands/template.mdx
import VersionLabel from '@site/src/components/Docs/VersionLabel';
<VersionLabel version="2.0.0" header />The moon template [id] command will display information about a template, its files, and
variables.
Template title ───────────────────────────────────────────────────────────
Some description of the template and its files.
About ────────────────────────────────────────────────────────────────────
Template: package
Location: /templates/package
Destination: packages/[name | kebab_case]
Extends: —
Assets: —
Files:
- package.json
Variables ────────────────────────────────────────────────────────────────
name: string
[id] - The template ID.--json - Print the template as JSON.