diff options
author | AL-LCL <alvin@alvinhavel.com> | 2023-05-19 11:01:49 +0200 |
---|---|---|
committer | AL-LCL <alvin@alvinhavel.com> | 2023-05-19 11:01:49 +0200 |
commit | 20dbeb2f38684c65ff0a4b99012c161295708e88 (patch) | |
tree | a5b8445f55da2fbbb92443b68e9d7354a290c598 /server.py |
Diffstat (limited to 'server.py')
-rw-r--r-- | server.py | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/server.py b/server.py new file mode 100644 index 0000000..44ed2bc --- /dev/null +++ b/server.py @@ -0,0 +1,21 @@ +import os + +from domestic.parse.internal_server_error_exception_handling import * +from domestic.parse.command_argument_parser import * +from domestic.parse.command_validation import * +from domestic.utility.program_setup import * +from domestic.parse.alias_parser import * +from domestic.global_state import * + + +@internal_server_error_exception_handling +def main(): + state['root'] = '{}/Aftermath'.format(os.getcwd().replace('\\', '/')) + program_setup() + + while True: + command_validation(command_argument_parser(alias_parser(input()))) + + +if __name__ == '__main__': + main()
\ No newline at end of file |