Get a list of GitHub organization teams.
import { githubTeams } from '@zendeskgarden/scripts';
(async () => {
const teams = await githubTeams();
console.log(teams && teams.join(', '));
})();orgGitHub organization name; defaults to the owner provided bygithubRepository.useruser to get team membership for; defaults to the current user.pathoptional path to a git directory; defaults to the current directory.tokenoptional GitHub personal access token; defaults to the value provided bygithubToken.
garden github-teams \
[--user [user]] \
[--path <path>] \
[--token <token>] \
<org>