-
Notifications
You must be signed in to change notification settings - Fork 0
/
prompts.py
49 lines (31 loc) · 1.77 KB
/
prompts.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
from colorama import Fore, Back, Style
#this is not a good way to do this
internalError = Fore.RED + '''An internal Error occured. Restart the program or try again. Error signature: ''' + Style.RESET_ALL
lineSeperator = '''-----------------------------------------------------------------------------C'''
linePrompt = Back.LIGHTBLUE_EX + Fore.BLACK + '''>>> ''' + Style.RESET_ALL
abortKeyword = '''abort'''
confirmKeyword = '''CONFIRM'''
insertIDnotValid = '''Your chosen ID is not valid (already taken or other violation)'''
idPrompt = '''id='''
contentPrompt = '''content='''
deadlinePrompt = '''deadline='''
initWarning = Fore.RED + '''WARNING THIS WILL DELETE ALL YOUR NOTES!!! DO YOU WANT TO CONTINUE?''' + Style.RESET_ALL
typeConfirmWarning = '''Type <CONFIRM> to confirm the operation'''
commandNotRecognized = Fore.LIGHTRED_EX + '''Command not recognized! type <help> for more''' + Style.RESET_ALL
helpMessage = '''
This is the todl program writen by Franzisco Schmidt
It is used to store and handle very simple todo-list actions through a command
line interface. Use commands to interface with the program:
<help> - prints this message
<init files> - writes the files 'done' and 'todo' new
<list all> - lists all entries in both files
<list done> - lists entries in 'done'
<list todo> - lists entries in 'todo'
<insert> - insert an item into the list (this will open another prompt)
<did> - change the status of the entry with id=param to done (this will open another prompt)
<undid> - change the status of the entry with id=param to todo (this will open another prompt)
<delete done> - removes all entries in 'done'
<exit> - closes the program
'''
startedSession = '''Starting session...'''
endingSession = '''Have a good one!'''