File tree 1 file changed +2
-0
lines changed
1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -611,6 +611,7 @@ ynh_replace_vars() {
611
611
# usage: ynh_read_var_in_file --file=PATH --key=KEY
612
612
# | arg: -f, --file= - the path to the file
613
613
# | arg: -k, --key= - the key to get
614
+ # | arg: -a, --after= - the line just before the key (in case of multiple lines with the name of the key in the file)
614
615
#
615
616
# This helpers match several var affectation use case in several languages
616
617
# We don't use jq or equivalent to keep comments and blank space in files
@@ -714,6 +715,7 @@ ynh_read_var_in_file() {
714
715
# | arg: -f, --file= - the path to the file
715
716
# | arg: -k, --key= - the key to set
716
717
# | arg: -v, --value= - the value to set
718
+ # | arg: -a, --after= - the line just before the key (in case of multiple lines with the name of the key in the file)
717
719
#
718
720
# Requires YunoHost version 4 .3 or higher.
719
721
ynh_write_var_in_file() {
You can’t perform that action at this time.
0 commit comments