Run main.py to run the program. You can type 'help' on the command screen to see available commands.
precise
- Select a season to watch a single episode
- This command can get two additional arguments to indicate a specific episode
- Ex: 'precise 2 3' will immediately open episode 3 from season 2
watch
:
- Watch random episode(s) from random season(s)
- This command can take an additional argument to indicate the number of episodes to watch
- Ex: 'watch 3' means that the user wants to watch 3 episodes
go
- Randomly chooses one episode out of all existing episodes
switch
- Switch the rick and morty episode provider
display
- Takes a second argument -> integer, or the string 'all'
- Displays the episode from given season
- If second argument == 'all', displays all existing episodes
history
- Takes a second argument -> integer, or the string 'all'
- Displays a number of (provided by second argument) previously watched episodes
- If the second argument == 'all', all the history will be shown
delete
[Dangerous]
- Takes a second argument -> integer, or the string 'all'
- Deletes a number of entries (provided by second argument) from history
- If the provided integer is greater than the length of the history, an exception is raised
- If the second argument == 'all', all the history will be deleted
update
- Updates the Rick and Morty Episode data
- Run this whenever a new season/episode comes out!
clear
- Clears the page
exit
- Closes the program
Note: You can type 'exit' and 'clear' in any input section. However, if you are in the middle of the other commands' workflow, typing any other command will not work. You need to get to the end of the commands' process in order to use any other command.