refactor: extract get_commands function
refactor: extract get_commands function

dwdm/splash,kmike/splash,sunu/splash,kod3r/splash,pawelmhm/splash,Youwotma/splash,sunu/splash,sunu/splash,Youwotma/splash,pawelmhm/splash,pawelmhm/splash,dwdm/splash,Youwotma/splash,kod3r/splash,pombredanne/splash,kmike/splash,kmike/splash,pombredanne/splash,kod3r/splash,pombredanne/splash,dwdm/splash