Files run in order:
unfollow
importsunfollow.cli
and runs themain
functioncli.py
-main()
main()
runs and dispays start screen through functionstart()
check_connectivity()
- makes a request to google.com to ensure the user is connected to the internet- Runs
get_links()
which imports the main function fromunfollow.py
and runs it to get the github unfollowers get_links
then runsprint_get()
which displays a Fetched Github followers line- based on the result of
check_connectivity
(which is assigned to a global variableinfo
), actions are taken- If
info
is equal to 'first' that means the user is using the program for the first time because there is nouser.txt
file in the program folder. Run theend()
function with the number of followers the user has. - Otherwise, the payload of
info
is examined. If unfollowers found, runbeautify_unfollows
frombeautify.py
(which displays a table of the unfollowers) - Otherwise, run
no_unfollows()
which displays a message and then runend()
- If