fetchAllSkills method

Future<List<Skill>> fetchAllSkills(
  1. String repo, {
  2. String branch = 'main',
})

Fetch all available skills from a repository

repo Repository in format 'owner/repo' branch Git branch to fetch from (default: 'main')

Implementation

Future<List<Skill>> fetchAllSkills(
  String repo, {
  String branch = 'main',
}) async {
  final skillNames = await listSkills(repo, branch: branch);
  return fetchSkills(repo, skillNames, branch: branch);
}