From 77982c85941ccb03f81e824b575016418e55aba0 Mon Sep 17 00:00:00 2001
From: HenryShan <zshan2@illinois.edu>
Date: Mon, 8 Mar 2021 15:21:29 +0800
Subject: [PATCH] assignment-2.1 version2: query parser finished, GET API
 finished

---
 .../CLI.py => API/Functions.py                |  0
 Client/CLI.py                                 | 21 +++++++++++++++++++
 Server/SimpleServer.py                        |  0
 3 files changed, 21 insertions(+)
 rename CommandLineInterface/CLI.py => API/Functions.py (100%)
 create mode 100644 Client/CLI.py
 create mode 100644 Server/SimpleServer.py

diff --git a/CommandLineInterface/CLI.py b/API/Functions.py
similarity index 100%
rename from CommandLineInterface/CLI.py
rename to API/Functions.py
diff --git a/Client/CLI.py b/Client/CLI.py
new file mode 100644
index 0000000..b3c40d6
--- /dev/null
+++ b/Client/CLI.py
@@ -0,0 +1,21 @@
+import typer
+
+app = typer.Typer()
+
+@app.command()
+def scrape_book(url: str):
+    """ Function used to create scrape request to Server """
+
+
+
+@app.command()
+def goodbye(name: str, formal: bool = False):
+    """ function2 """
+    if formal:
+        typer.echo(f"Goodbye Ms. {name}. Have a good day.")
+    else:
+        typer.echo(f"Bye {name}!")
+
+
+if __name__ == "__main__":
+    app()
\ No newline at end of file
diff --git a/Server/SimpleServer.py b/Server/SimpleServer.py
new file mode 100644
index 0000000..e69de29
-- 
GitLab