Update packaging_apps_helpers.md

This commit is contained in:
ma.azimi@laposte.net 2016-03-08 18:21:41 +01:00 committed by YunoHost
parent 8c6de8ea2b
commit cdb67e5294

View file

@ -1,11 +1,21 @@
<a class="btn btn-lg btn-default" href="packaging_apps_en">Application packaging</a>
### Helpers
It's recommended to use helpers.
#### Shell
From YunoHost 2.4, [shell helpers](https://github.com/YunoHost/yunohost/tree/unstable/data/apps/helpers.d) are available.
To use them, you need to add following lines in the shell scripts:
```bash
# Source app helpers
. /usr/share/yunohost/apps/helpers
```
<br />
#### Moulinette
The CLI [moulinette](/moulinette) provides a few tools to make the packager's work easier:
<br>
```bash
sudo yunohost app checkport <port>
```