You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
508 B

6 months ago
# 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 %}