Skip to content

Commit

Permalink
Update smpkg.py
Browse files Browse the repository at this point in the history
  • Loading branch information
manav-harsana committed Sep 19, 2023
1 parent 355d823 commit 6a756c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion smpkg.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
print("Not exiting...") ## tell user 'not exiting'
continue ## continue loop
if cmd=="help": ## Define 'help' command
print("Version: 0.2 beta \nYour Platform: Windows\nRepository Version: 0.2 \nPackages: 2 \nCommands: \nsmpkg -l: lists all packages \nsmpkg -f: finds packages with entered characters \nsmpkg -i: downloads and installs packages \nsmpkg -u: check for updates and install if available") ## print help output
print("Version: 0.3 Beta \nYour Platform: Windows\nRepository Version: 0.3 \nPackages: 31 \nCommands: \nsmpkg -l: lists all packages \nsmpkg -f: finds packages with entered characters \nsmpkg -i: downloads and installs packages \nsmpkg -u: check for updates and install if available") ## print help output
if cmd=="smpkg -f":
pkg=input("Find a package: ")
with open(r'repository\main.smrepo', 'r') as fp:
Expand Down

0 comments on commit 6a756c6

Please sign in to comment.