netlify
Version:
Netlify command line tool
20 lines • 756 B
JavaScript
const teams = (_options, command) => {
command.help();
};
export const createTeamsCommand = (program) => {
program
.command('teams:list')
.description('List all teams you have access to')
.option('--json', 'Output team data as JSON')
.addExamples(['netlify teams:list', 'netlify teams:list --json'])
.action(async (options, command) => {
const { teamsList } = await import('./teams-list.js');
await teamsList(options, command);
});
return program
.command('teams')
.description(`Handle various team operations\nThe teams command will help you manage your teams`)
.addExamples(['netlify teams:list'])
.action(teams);
};
//# sourceMappingURL=teams.js.map