erstes hinzufügen von datei

This commit is contained in:
2024-06-22 18:59:38 +02:00
commit fe02eb6488

32
manual-commands-test.py Normal file
View File

@@ -0,0 +1,32 @@
#22.06.2024
#planned improvements:
#use functions to clean up the code for the specific functions
# use a dictionary to map the commands to the functions
command = None
available_commands = ["- 'note' for creating a note", "- 'task' for creating a note", "- 'exit' for exiting the application"]
while command is None:
command = input("Enter a command (type 'help' for avilable commands): ")
lowered_input = command.lower()
print("Command is: " + lowered_input)
if lowered_input == 'hilfe':
print ("You entered " + lowered_input)
command = None
if lowered_input == 'note':
note_text = input("Enter Text for Note: ")
if lowered_input == 'note help':
print("After this command you're able to put in a text. If you submit the text it gets converted into a Note in Google Keep")
if lowered_input == 'help':
print("These commands are available")
print("If you want to know what each command is capable of type 'examplecommand help'")
for x in available_commands:
print(x)
if lowered_input == 'exit':
break
command = None