docs: def get_license_summary(license_code):
    """ Gets the license summary and permitted, forbidden and required
    behaviour """
    try:
      abs_file = os.path.join(_ROOT, "summary.json")
      with open(abs_file, 'r') as f:
        summary_license = json.loads(f.read())[license_code]
  
      # prints summary
      print(Fore.YELLOW + 'SUMMARY')
      print(Style.RESET_ALL),
      print(summary_license['summary'])
  
      # prints source for summary
      print(Style.BRIGHT + 'Source:'),
      print(Style.RESET_ALL),
      print(Fore.BLUE + summary_license['source'])
      print(Style.RESET_ALL)
  
      # prints cans
      print(Fore.GREEN + 'CAN')
      print(Style.RESET_ALL),
      for rule in summary_license['can']:
        print(rule)
      print('')
  
      # prints cannot
      print(Fore.RED + 'CANNOT')
      print(Style.RESET_ALL),
      for rule in summary_license['cannot']:
        print(rule)
      print('')
  
      # prints musts
      print(Fore.BLUE + 'MUST')
      print(Style.RESET_ALL),
      for rule in summary_license['must']:
        print(rule)
      print('')
  
    except KeyError:
      print(Fore.RED + 'No such license. Please check again.'),
      print(Style.RESET_ALL),