Lists all the licenses on command line

def _get_licences():
  """ Lists all the licenses on command line """
  licenses = _LICENSES

  for license in licenses:
    print("{license_name} [{license_code}]".format(
          license_name=licenses[license], license_code=license))