Extend ynh_load_app_environment usage examples

Co-authored-by: Florent <florent.git@zeteo.me>
This commit is contained in:
tituspijean 2023-05-24 23:08:53 +02:00 committed by GitHub
parent 2b65913b89
commit 21c7c41812
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -117,6 +117,10 @@ ynh_remove_apps() {
# usage: ynh_install_apps --app="app"
# | arg: -a, --app= - the app ID
#
# examples:
# ynh_load_app_environment --app="APP" <<< 'echo "$USER"'
# ynh_load_app_environment --app="APP" < /tmp/some_script.bash
#
# Requires YunoHost version 11.0.* or higher.
ynh_load_app_environment() {
# Declare an array to define the options of this helper.