What is the meaning of まさか...お前が ...喜べ


I read in a manga that a character said "...まさか...お前が", "...喜べ" does it make
sense to add imperative form here or the 喜べ isn't connected to the omae ga




Assuming from comments that speaker is saying something like

> So you're the one who was behind this all along. Are you happy now, now that
> everything went as you planned?

Here's the breakdown

**まさか...** - No way.../I never would have thought...

**お前が（黒幕だったんだ）...** - You're the one (who was behind this all along)...

**（お前が）喜べ...すべてお前らの思い通りだ** - (Sarcastically, in admission of defeat) Rejoice.
Everything went exactly as you planned.

