Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions jarviscli/plugins/hello.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
print("Hello World")
25 changes: 25 additions & 0 deletions jarviscli/plugins/infob17047.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
from plugin import plugin
import os

@plugin("infob17047")
def infob17047(jarvis, s):
"""Repeats what you type"""
jarvis.say("Welcome to the info plugin of <your_name> roll num <your_roll_num>. Please select one of the options below:\n[F]ull name // prints your full name\n[H]ometown // prints your hometown\nFavourite [M]ovie // prints your fav movie\nFavourite [S]portsperson // prints your fav sportsperson\nLaunch [P]ython program written by me")
g = input("Enter your command : ")
s=str("F")
if(g==s):
jarvis.say("Kanika Gupta")

s=str("H")
if(g==s):
jarvis.say("Karnal")

s=str("M")
if(g==s):
jarvis.say("Shawshank")
s=str("S")
if(g==s):
jarvis.say("blabla")
s=str("P")
if(g==s):
os.system("python /local/user/Jarvis/jarviscli/plugins/hello.py")