docs: def get_environments():
      """Gets all environments found in the 'environments' directory"""
      envs = []
      for root, subfolders, files in os.walk('environments'):
          for filename in files:
              if filename.endswith(".json"):
                  path = os.path.join(
                      root[len('environments'):], filename[:-len('.json')])
                  envs.append(get_environment(path))
      return sorted(envs, key=lambda x: x['name'])