save the above token in a file and run the script with the --token-file flag
This is pretty cumbersome. Maybe we could have a second prompt where, after we get the professor's token, we can say, "would you like to save this token file? (y/n) :" and then save the token in the directory. Then, we could just automatically check for a token file with that filename. That way, the professor only has to give their login once
Right now, to use any script, a professor has two authentication options:
This is pretty cumbersome. Maybe we could have a second prompt where, after we get the professor's token, we can say, "would you like to save this token file? (y/n) :" and then save the token in the directory. Then, we could just automatically check for a token file with that filename. That way, the professor only has to give their login once