def help_update(self): """Prints help about update command""" print_say("location: Updates location.", self) print_say("system: Updates system.", self)
def help_wiki(self): """Help for wiki""" print_say("Jarvis has now wiki feature", self) print_say("enter wiki search for searching related topics", self) print_say("enter wiki summary for getting summary of the topic", self) print_say("wiki content for full page article of topic", self)
def help_tempconv(self): """Print help information for tempconv command.""" print_say( "Convert temperature from Fahrenheit to Celsius and vice versa", self) print_say("Examples: 32f, 18C, -20F, -8c, 105.4F, -10.21C", self)
def help_twitter(self): """help for twitter""" print_say("enter twitter and follow the instructions", self)
def help_say(self): """Prints help text from say command.""" print_say("Reads what is typed.")
def help_shutdown(self): """Print help about shutdown command.""" print_say("Shutdown the system.", self)
def help_music(self): """Print help about music command.""" print_say("Jarvis will find you the song you want", self) print_say("-- Example:", self) print_say("\tmusic wonderful tonight", self)
def help_reboot(self): """Print help about reboot command.""" print_say("Reboot the system.", self)
def help_movie(self): """Print help about movie command.""" print_say("Jarvis - movie command", self) print_say("List of commands:", self) print_say("movie cast", self) print_say("movie director", self) print_say("movie plot", self) print_say("movie producer", self) print_say("movie rating", self) print_say("movie year", self)
def help_movies(self): """Print help about movies command.""" print_say("Jarvis will find a good movie for you", self)
def do_movie(self, s): """Jarvis will get movie details for you""" k = s.split(' ', 1) if k[0] == "cast": data = movie.cast(k[1]) for d in data: print_say(d['name'], self) elif k[0] == "director": data = movie.director(k[1]) for d in data: print_say(d['name'], self) elif k[0] == "plot": data = movie.plot(k[1]) print_say(data, self) elif k[0] == "producer": data = movie.producer(k[1]) for d in data: print_say(d['name'], self) elif k[0] == "rating": data = movie.rating(k[1]) print_say(str(data), self) elif k[0] == "year": data = movie.year(k[1]) print_say(str(data), self)
def help_match(self): """Prints help about match command""" print_say("Matches a string pattern in a file using regex.", self) print_say("Type \"match\" and you'll be prompted.", self)
def do_lyrics(self, s): # TODO: maybe add option to download lyrics not just print them there lyr = lyrics() response = lyr.find(s) print_say(response, self)
def help_increase(self): """Print help about increase command.""" print_say("volume: Increases your speaker's sound.", self)
def help_near(self): """Print help about near command.""" print_say("Jarvis can find what is near you!", self) print_say("-- Examples:", self) print_say("\trestaurants near me", self) print_say("\tmuseums near the eiffel tower", self)
def help_quote(self): """Help for quote""" print_say("quote prints quote for the day for you", self)
def help_news(self): """Print help about news command.""" print_say("Time to get an update about the local news.", self) print_say( "Type \"news\" to choose your source or \"news quick\" for some headlines.", self)
def help_remind(self): """Print help about remind command.""" print_say("Handles reminders", self) print_say("add: adds a reminder", self) print_say("remove: removes a reminder", self) print_say("list: lists all reminders", self) print_say("clear: clears all reminders", self) print_say("-- Examples:", self) print_say("\tremind add 14:25 buy tomatoes", self) print_say("\tremind add 14:26 buy potatoes too", self) print_say("\tremind remove buy potatoes too", self) print_say("\tremind list", self) print_say("\tremind clear", self)
def help_open(self): """Print help about open command.""" print_say("camera: Jarvis will open the camera for you.", self)
def help_screen(self): """Print help about screen command.""" print_say("Turns off the screen instantly", self) print_say("-- Example:", self) print_say("screen off", self)
def help_os(self): """Displays information about your operating system.""" print_say("Displays information about your operating system.", self)
def help_tell(self): """Print info about tell command""" print_say("Tell a joke about Chuck Norris", self)
def help_pinpoint(self): """Print help about pinpoint command.""" print_say("Jarvis will pinpoint your location.", self)
def help_translate(self): """Print help for translate function""" print_say("translates from one language to another.", self)
def help_play(self): """Print help about play command.""" print_say("Jarvis will find you the song you want", self) print_say("-- Example:", self) print_say("\tplay eye of the tiger", self)
def help_umbrella(self): """Print info about umbrella command.""" print_say( "If you're leaving your place, Jarvis will inform you if you might need an umbrella or not.", self, Fore.BLUE)
def help_q(self): """Closing Jarvis""" print_say("Closing Jarvis!!", self)
def help_weather(self): """Prints help about weather command.""" print_say( "Get information about today's weather in your current location.", self)
def help_quit(self): """Closing Jarvis.""" print_say("Close Jarvis", self)
def default(self, data): """Jarvis let's you know if an error has occurred.""" print_say("I could not identify your command...", self, Fore.RED)
def help_how_are_you(self): """Print info about how_are_you command""" print_say("Jarvis will inform you about his status.", self)