-
Notifications
You must be signed in to change notification settings - Fork 3
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
feat: create command to invite members #68
feat: create command to invite members #68
Conversation
This pull request has been linked to Shortcut Story #235704: create command to invite members. |
cmd/members/members.go
Outdated
Use: "members", | ||
Short: "Make requests (create/invite) on members", | ||
Long: "Make requests (create/invite) on members", | ||
Run: func(cmd *cobra.Command, args []string) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can get rid of this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ooops yes i can, leftover from running cobra-cli add
@@ -56,24 +59,31 @@ func NewRootCommand(flagsClient flags.Client, projectsClient projects.Client) (* | |||
return nil, err | |||
} | |||
|
|||
projectsCmd, err := projcmd.NewProjectsCmd(projectsClient) | |||
flagsCmd, err := flagscmd.NewFlagsCmd(flagsClient) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
swapped to alphabetize/match the order in which we add commands
cmd/members/members.go
Outdated
Use: "members", | ||
Short: "Make requests (create/invite) on members", | ||
Long: "Make requests (create/invite) on members", | ||
Run: func(cmd *cobra.Command, args []string) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ooops yes i can, leftover from running cobra-cli add
Adds a command to invite a new member. Can be run with: