etcdctl/ctlv3/command/member_command.go
func memberListCommandFunc(cmd *cobra.Command, args []string) {
	ctx, cancel := commandCtx(cmd)
	resp, err := mustClientFromCmd(cmd).MemberList(ctx)
	cancel()
	if err != nil {
		ExitWithError(ExitError, err)
	}

	display.MemberList(*resp)
}
func memberListCommandFunc(cmd *cobra.Command, args []string) {
	ctx, cancel := commandCtx(cmd)
	resp, err := mustClientFromCmd(cmd).MemberList(ctx)
	cancel()
	if err != nil {
		ExitWithError(ExitError, err)
	}

	display.MemberList(*resp)
}
func memberListCommandFunc ( cmd * cobra . Command , args [ ] string ) { ctx , cancel := commandCtx ( cmd ) resp , err := mustClientFromCmd ( cmd ) . MemberList ( ctx ) cancel ( ) if err != nil { ExitWithError ( ExitError , err ) } display . MemberList ( * resp ) }
// memberListCommandFunc executes the "member list" command.
memberListCommandFunc executes the member list command .