#!/usr/bin/env bash set -a source /usr/share/yunohost/helpers app="${0//.\/50-}" username=$1 user_token=$(ynh_string_random) sudo -u $app $final_path/cli/create-user.php --user $username --language en --token $user_token