Fix group leave
This commit is contained in:
parent
2f84cb4f3c
commit
37291ba3bd
3 changed files with 4 additions and 2 deletions
2
Makefile
2
Makefile
|
@ -1,4 +1,4 @@
|
|||
signaldctl: signald/client-protocol
|
||||
signaldctl: signald/client-protocol cmd/signaldctl
|
||||
go build -ldflags '-X gitlab.com/signald/signald-go/cmd/signaldctl/common.Version=$(shell git describe) -X gitlab.com/signald/signald-go/cmd/signaldctl/common.Branch=$(shell git rev-parse --abbrev-ref HEAD) -X gitlab.com/signald/signald-go/cmd/signaldctl/common.Commit=$(shell git rev-parse HEAD)' -o signaldctl ./cmd/signaldctl
|
||||
|
||||
protocol.json:
|
||||
|
|
|
@ -84,5 +84,5 @@ var (
|
|||
)
|
||||
|
||||
func init() {
|
||||
AcceptGroupInvitationCmd.Flags().StringVarP(&account, "account", "a", "", "the signald account to use")
|
||||
LeaveGroupCmd.Flags().StringVarP(&account, "account", "a", "", "the signald account to use")
|
||||
}
|
||||
|
|
|
@ -19,6 +19,7 @@ import (
|
|||
"github.com/spf13/cobra"
|
||||
|
||||
"gitlab.com/signald/signald-go/cmd/signaldctl/cmd/group/accept"
|
||||
"gitlab.com/signald/signald-go/cmd/signaldctl/cmd/group/leave"
|
||||
"gitlab.com/signald/signald-go/cmd/signaldctl/cmd/group/list"
|
||||
"gitlab.com/signald/signald-go/cmd/signaldctl/cmd/group/show"
|
||||
)
|
||||
|
@ -32,4 +33,5 @@ func init() {
|
|||
GroupCmd.AddCommand(accept.AcceptGroupInvitationCmd)
|
||||
GroupCmd.AddCommand(list.ListGroupCmd)
|
||||
GroupCmd.AddCommand(show.ShowGroupCmd)
|
||||
GroupCmd.AddCommand(leave.LeaveGroupCmd)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue