run method
Runs this command.
The return value is wrapped in a Future if necessary and returned by
CommandRunner.runCommand.
Implementation
@override
void run() async {
// Display a header for the list of repositories.
out("{@green}List of repositories:{@end}");
// Get the list of all repositories.
final reposList = await Repositories.allRepos();
// Display the URL of each repository.
for (var repo in reposList) {
out(repo.url);
}
}