Files
hestia-cli-docs/lib/templates/doc-all.md
Alexey Berezhok 245878ec81 Added sources
2024-10-13 21:30:17 +03:00

27 lines
508 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# CLI Reference
{% for cmdName, cmd in cmds %}
## {{ cmdName }}
[Source](https://github.com/hestiacp/hestiacp/blob/release/bin/{{cmdName}})
{% if cmd.info %}
{{ cmd.info }}
{% endif %}
**Options**: {% for option in cmd.options %}{{ '' if (option === 'NONE') else ('`' + (option | mdCode) + '`') }} {% endfor %}
{% if cmd.examples.length %}
**Examples**:
```{{ 'php' if cmd.php else 'bash' }}
{% for example in cmd.examples %}
{{ example }}
{% endfor %}
```
{% endif %}
{{ cmd.desc }}
{% endfor %}