Commit 60e95daa authored by Nong Hoang Tu's avatar Nong Hoang Tu
Browse files

Add project names from cli to proc

parent 9c6c8fee
Pipeline #2183 canceled with stages
......@@ -21,14 +21,15 @@ proc main() =
full_help()
return
else:
let arr = commandLineParams()[1 .. ^1]
if paramStr(1) == "clone":
cloneProject()
cloneProject(arr)
return
elif paramStr(1) == "pull":
handlePullProject()
handlePullProject(arr)
return
elif paramStr(1) == "update":
handleUpdateProject()
handleUpdateProject(arr)
return
echo "[!] Unknown command ", paramStr(1)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment