text: from shlex import shlex
  
  from src.netcompany_toolkit.model.Option import Option
  from src.netcompany_toolkit.model.domain.TimeTable import TimeTable
  from src.netcompany_toolkit.model.domain.WorkTable import WorkTable
  from src.netcompany_toolkit.model.enum.SharepointStatus import SharepointStatus
  from src.netcompany_toolkit.service import TimeTableService, SharepointService
  
  
  class CaseHandlingRoutine:
  
      def __init__(self, work_table: WorkTable, time_table: TimeTable):
          self.work_table = work_table
          self.time_table = time_table
  
      def _case_options(self) -> Option:
          input_command = input('Select option')
          command, *arguments = shlex.split(input_command)
          return Option(command, arguments)
  
      def _sub_routine(self):
          while True:
              command = self._case_options()
              if command.is_case_implemented():
                  SharepointService.update_status(self.work_table.case_id, SharepointStatus.IMPLEMENTED)
                  pass
              if command.is_quit():
                  TimeTableService.afslut_table(self.time_table)
                  break
              else:
                  print('Ukendt komando')
  