Skip to content

s-simsek/rickled

Repository files navigation

A script for R & M fans

Run main.py to run the program. You can type 'help' on the command screen to see available commands.


Available Commands

  1. 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
  1. 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
  1. go
  • Randomly chooses one episode out of all existing episodes
  1. switch
  • Switch the rick and morty episode provider
  1. display
  • Takes a second argument -> integer, or the string 'all'
  • Displays the episode from given season
  • If second argument == 'all', displays all existing episodes
  1. 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
  1. 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
  1. update
  • Updates the Rick and Morty Episode data
  • Run this whenever a new season/episode comes out!
  1. clear
  • Clears the page
  1. 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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages