Skip to content

crud for team #213

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Aug 6, 2018
Merged

crud for team #213

merged 5 commits into from
Aug 6, 2018

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.

3 participants