mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Extend ynh_load_app_environment usage examples
Co-authored-by: Florent <florent.git@zeteo.me>
This commit is contained in:
parent
2b65913b89
commit
21c7c41812
1 changed files with 4 additions and 0 deletions
|
@ -117,6 +117,10 @@ ynh_remove_apps() {
|
||||||
# usage: ynh_install_apps --app="app"
|
# usage: ynh_install_apps --app="app"
|
||||||
# | arg: -a, --app= - the app ID
|
# | 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.
|
# Requires YunoHost version 11.0.* or higher.
|
||||||
ynh_load_app_environment() {
|
ynh_load_app_environment() {
|
||||||
# Declare an array to define the options of this helper.
|
# Declare an array to define the options of this helper.
|
||||||
|
|
Loading…
Add table
Reference in a new issue