INVITE COMMANDS
The swamp invite command group manages referral links and invitations from the
CLI.
Running swamp invite with no subcommand prints group help.
swamp invite link
Fetch the operative's referral link, creating one on first use. Idempotent — the same operative always gets the same link.
swamp invite linkOutput: the bare URL is written to stdout and a points note is written
to stderr, so swamp invite link | pbcopy captures only the link.
When a new operative signs up through this link and reaches ordinal 5 (Marsh Skulker, 8,000 points), the inviter receives a points payout.
| Flag | Description |
|---|---|
--json |
Emit {"code": "…", "url": "…"} |
Requires authentication (swamp auth login or SWAMP_API_KEY). The referral
link is identity-scoped.