Skip to content

feat(cli): add gander invite to mint team invite links - #105

Merged
scott merged 1 commit into
mainfrom
feat/102-cli-invite
Sep 7, 2026
Merged

feat(cli): add gander invite to mint team invite links#105
scott merged 1 commit into
mainfrom
feat/102-cli-invite

Conversation

@scott

@scott scott commented Sep 7, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Add gander invite [--email <addr>] [--share <short_id>] so token-only authors can mint a team invite link without scraping the dashboard.
  • POST Bearer /api/invites (paired gandermd feat: mirror installer binaries to DigitalOcean Spaces #107). Prints invite_url to stdout once; does not open a browser.
  • --share accepts an 8-character short ID or a share URL. Invalid email, extra args, unauthenticated runs, and 409s (already_member, invite_exists, too_many_invites) fail with readable messages.
  • Help (when authed), bash/zsh completions, man page, README, and AGENTS.md list the command.

Related Issue

Closes #102

Paired server: #107 (POST /api/invites).

Skill copy: follow-up PR on gandermd/gander-skill.

Testing

go test ./...
go vet ./...
CGO_ENABLED=0 go build ./...

All green. Stubbed POST /api/invites for flag combos, URL parse, bad email, extra args, auth, and 409 mapping. No live server.

Notes

Listing, revoking, and re-inviting stay on gander manage / the Team page. No MCP tool; agents can shell out to gander invite.

@scott

scott commented Sep 7, 2026

Copy link
Copy Markdown
Collaborator Author

Skill copy: gandermd/gander-skill#15

@scott
scott merged commit 1d5710c into main Sep 7, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: gander invite — mint a team invite link from the CLI

1 participant