Managing funkwhale with the cli is a bit tedious because you have to change user, load the env file, enter a virtualenv and run a django command.
Moreover, with the change to poetry, all the commands will be changed, it will be easier for people to make the change with this simple script.
This MR adds a script that can be put in
/usr/bin to manage funkwhale more easily. I use it in the Arch (AUR) package currently (https://aur.archlinux.org/cgit/aur.git/tree/funkwhale_manage?h=funkwhale-venv).
sudo -u funkwhale -H -E /srv/funkwhale/virtualenv/bin/python api/manage.py collectstatic --no-input
sudo funkwhale_manage collectstatic --no-input