code: def filter_alias_create_namespace(namespace):
      
      def filter_string(s):
          return ' '.join(s.strip().split())
  
      namespace.alias_name = filter_string(namespace.alias_name)
      namespace.alias_command = filter_string(namespace.alias_command)
      return namespace
docs: Filter alias name and alias command inside alias create namespace to appropriate strings.
  
      Args
          namespace: The alias create namespace.
  
      Returns:
          Filtered namespace where excessive whitespaces are removed in strings.