Skip to content

Commit

Permalink
Removed helpers.py
Browse files Browse the repository at this point in the history
  • Loading branch information
xl3ehindTim committed Nov 29, 2019
1 parent 96b959c commit 6c7663b
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
Binary file modified __pycache__/getArgs.cpython-37.pyc
Binary file not shown.
5 changes: 5 additions & 0 deletions code-buddy.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,23 @@
if projectType == "python":
name = getArgs(3)
python.createPythonProject(name)
print("Folder created succefully")
elif projectType == "javascript":
name = getArgs(3)
javascript.createJavascriptProject(name)
print("Folder created succefully")
elif projectType == "html":
name = getArgs(3)
html.createHtmlProject(name)
print("Folder created succefully")
elif projectType == "php":
name = getArgs(3)
php.createPhpProject(name)
print("Folder created succefully")
elif projectType == "bootstrap":
name = getArgs(3)
bootstrap.createPhpProject(name)
print("Folder created succefully")
# If not valid file type
else:
print(f"argument {getArgs(2)} is unknown, try: 'python, javascript, html, php or bootstrap'")
Expand Down
2 changes: 0 additions & 2 deletions getArgs.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
import sys

print(sys.argv)

def getArgs(i):
return sys.argv[i]
4 changes: 0 additions & 4 deletions helpers.py

This file was deleted.

0 comments on commit 6c7663b

Please sign in to comment.