serinko před 4 roky
rodič
revize
e9fd28ba0e
2 změnil soubory, kde provedl 20 přidání a 4 odebrání
  1. 14 0
      texts_cli.py
  2. 6 4
      whallets_cli.py

+ 14 - 0
texts_cli.py

@@ -1,4 +1,5 @@
 """A module with all the display info for whallets-cli."""
+from tabulate import tabulate
 
 import whallets_cli as cli
 
@@ -9,6 +10,19 @@ def welcome_message():
         "\n ========================================= \n"
     return msg
 
+def _main_menu():
+    """Displays the CLI main menu"""
+    line_0 = ("**","Enter the number from the menu:")
+    line = ("---","------------------------------",)
+    line_1 = ("1 -","Add a wallet to the the list")
+    
+    line_2 = ("2 -","Display the list of wallets")
+    line_3 = ("3 -","Display recent whale TXs on your list")
+    line_4 = ("
+
+
+    table = []
+
 def _choose_chain():
     msg = \
         "\nPlease chose the network for the wallet address:"\

+ 6 - 4
whallets_cli.py

@@ -1,13 +1,15 @@
 """CLI for users to manage the wallet database and run research functions"""
 #TODO:
-# 1) Interacting with APIs
-# 2) easy adding data to the wallets_dict.json
-# - loop through each info separatedly
+# 1) Learn operating Blockscan APIs
+# 2) Program functions pulling APIs data based on users interaction
+# 3) CLI function to easy add new wallets and other data to the wallets_dict.json
+# - loop through each info separately
 # - ask to re-add info if matches
-# 3) Scanning through APIs based on given parameters
 # 4) Prints options for the user (-h)
 
 import json
+from tabulate import tabulate
+
 import texts_cli as tc
 
 def cli_main():