Skip to content

Conversation

@denys-codefresh
Copy link
Contributor

No description provided.

.positional('name', {
describe: 'Name of team',
})
.option('team-file', {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

there is already a general option to create resource from file , with -f option , there is no need to add a specific option 'team-file' , you can take a look on the other resources with create option


let teams = await team.getTeams();

if (!_.isEmpty(teamsIds) && !_.isEmpty(teams)) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

when you get a id/name , its better you will do the filtering in the back end . pass it as a query or a param , instead of get all and filter it in the cli

@denys-codefresh denys-codefresh merged commit ffb7603 into master Aug 6, 2018
@noam-codefresh noam-codefresh deleted the saas-156_manage_teams_cli branch August 13, 2021 08:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants