[fix] Add an example for ynh_get_plain_key helper usage

This commit is contained in:
Jérôme Lebleu 2016-02-29 12:18:26 +01:00
parent 9d6f9d4c07
commit 4ee8d91f5e

View file

@ -1,5 +1,7 @@
# Extract a key from a plain command output
#
# example: yunohost user info tata --output-as plain | ynh_get_plain_key mail
#
# usage: ynh_get_plain_key key [subkey [subsubkey ...]]
# | ret: string - the key's value
ynh_get_plain_key() {