helper_scripts
helper_scripts copied to clipboard
Provide a single top level pythonanywhere command
Like many application (git, django-admin etc) it'd be nice to have a single pythonanywhere top level command. Then for example: pythonanywhere newsite --django=1.11 <git-url>
Another option is to implement pythonanywhere setup which configures the API token etc, will open a browser at the correct URL and request the shown API token.
A command to run git pull and restart the application would also be great. pythonanywhere update perhaps?
This keeps the global $PATH cleaner and is more intuitive for the user since pythonanywhere --help can list all the available commands.
I've had good experiences with click to implement these kind of interfaces.