repo: fmrl-client action: blob revision: path_from: fmrl-status-yaml revision_from: refs/heads/trunk: path_to: revision_to:
blob of:
/ fmrl-status-yaml
refs/heads/trunk:/fmrl-status-yaml
#!/usr/bin/env bash
if [ "$1" = "-f" ];then
force=1
shift
fi
while [ "$1" ];do
. fmrl-get-status
if [ "$u_code" != "200" -a ! "$force" ];then
echo "code: $code user: $1" >&2
shift
continue
fi
printf "name: %s\n" "$u_name"
printf "emoji: %s\n" "$u_emoji"
printf "status: %s\n" "$u_status"
printf "media_type: %s\n" "$u_media_type"
printf "media: %s\n" "$u_media"
shift
done