From 102553cd792d256a44a7972929519644ed308acd Mon Sep 17 00:00:00 2001 From: Graham Helton Date: Mon, 28 Feb 2022 02:53:23 -0500 Subject: [PATCH] Updated README and changed welcome message --- README.md | 10 ++++++++++ index.py | 25 ++++++++++++++++++++++++- 2 files changed, 34 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 26579df..da623fb 100644 --- a/README.md +++ b/README.md @@ -13,3 +13,13 @@ Currently the indexer has the following features ![](indexShow.gif) +# Todo +- Add index viewer within program (Pretty print index.csv) +- Add edit feature (edit previous index entries) +- Add CSV sorting (Sort by book then alphabetical) +- Add handling for repeat entries +- Only show CSVs when asking which index you want to work on +- Add "Create new" option to csv selection option +- Create a .sansindex file in home directory that stores indexes +- Add delete option for index files +- Add "ask for book" prompt on startup diff --git a/index.py b/index.py index 3905ef2..fa161eb 100755 --- a/index.py +++ b/index.py @@ -22,8 +22,10 @@ tickBad = Fore.YELLOW + "[" + Fore.RED + "X" + Fore.YELLOW+ "]" + reset awaitingInput = Fore.BLUE + "-----" + Fore.GREEN + "> " + reset tickInfo = Fore.BLUE + "[" + yellow + "!" + Fore.BLUE + "]" + reset -print(tick, "Welcome to indexer") +print(tick, "Welcome to Sans Terminal Indexer") print(tick, "Setting default book number to 1") +print(tick, "Enter \"new book\" to change to the next book") + # Handle control+c def handler(signum, frame): print(red, "Exiting") @@ -95,3 +97,24 @@ while True: # Append row to list called index (This is a list of a lists) index.append(row) writeCsv() + + + + + + + + + + + + + + + + + + + + +