cli program for the rsapi.py