Team Management CLI
Manage team members, permissions, and collaboration directly from the command line.
List Team Members
langctl team list
Members (5):
┌──────────────────┬──────────┬─────────────────┬────────────────┐
│ Email │ Role │ Joined │ Last Active │
├──────────────────┼──────────┼─────────────────┼────────────────┤
│ john@acme.com │ Owner │ Mar 1, 2024 │ 1 hour ago │
│ sarah@acme.com │ Admin │ Mar 5, 2024 │ 3 hours ago │
│ mike@acme.com │ Member │ Mar 15, 2024 │ 1 day ago │
│ anna@acme.com │ Member │ Apr 1, 2024 │ 2 days ago │
│ bob@acme.com │ Viewer │ Apr 10, 2024 │ 1 week ago │
└──────────────────┴──────────┴─────────────────┴────────────────┘
langctl team list --verbose langctl team invite colleague@example.com --role member
✓ Invitation sent to colleague@example.com
✓ Role: Member
✓ Expires: April 22, 2024
langctl team invite admin@example.com --role admin
langctl team invite user1@example.com user2@example.com --role member
langctl team invite translator@example.com --role member \
--message "Welcome to the translation team!" langctl team role mike@acme.com --set admin
✓ Updated role for mike@acme.com: Member -> Admin
langctl team role sarah@acme.com --set member
langctl team info mike@acme.com
Member: Mike Johnson
Email: mike@acme.com
Role: Admin
Joined: March 15, 2024
Last Active: 1 day ago
Activity (last 30 days):
- Translations edited: 234
- Keys created: 45
- Exports: 12
- Projects accessed: 3 langctl team remove bob@acme.com
? Are you sure you want to remove bob@acme.com? Yes
✓ Removed bob@acme.com from organization
langctl team remove old-member@example.com --force ⚠️
Warning
Removing a team member revokes their access immediately. They can no longer view or edit any organization resources.
langctl team invitations
Pending Invitations (2):
┌──────────────────────┬──────────┬─────────────────┬────────────┐
│ Email │ Role │ Invited │ Expires │
├──────────────────────┼──────────┼─────────────────┼────────────┤
│ new-hire@acme.com │ Member │ Apr 10, 2024 │ in 3 days │
│ contractor@ext.com │ Viewer │ Apr 12, 2024 │ in 5 days │
└──────────────────────┴──────────┴─────────────────┴────────────┘
langctl team invitations resend new-hire@acme.com
✓ Resent invitation to new-hire@acme.com
✓ New expiration: April 22, 2024
langctl team invitations revoke contractor@ext.com
✓ Revoked invitation for contractor@ext.com langctl team activity
Recent Activity:
┌──────────────────┬────────────────────────┬─────────────────┐
│ Member │ Action │ When │
├──────────────────┼────────────────────────┼─────────────────┤
│ sarah@acme.com │ Updated 12 keys │ 2 hours ago │
│ mike@acme.com │ Exported Spanish │ 4 hours ago │
│ sarah@acme.com │ Published 24 keys │ 5 hours ago │
│ john@acme.com │ Created project │ 1 day ago │
│ mike@acme.com │ Invited new member │ 2 days ago │
└──────────────────┴────────────────────────┴─────────────────┘
langctl team activity --member sarah@acme.com
langctl team activity --since 2024-04-01 --until 2024-04-15 langctl team stats
Team Statistics (Last 30 Days):
Active Members: 4 / 5 (80%)
Activity by Member:
sarah@acme.com: 487 actions (35%)
mike@acme.com: 342 actions (25%)
john@acme.com: 289 actions (21%)
anna@acme.com: 267 actions (19%)
bob@acme.com: 0 actions (0%)
Most Active:
1. sarah@acme.com - 487 actions
2. mike@acme.com - 342 actions
3. john@acme.com - 289 actions
Action Types:
Translation edits: 834 (60%)
Key creation: 145 (10%)
Exports: 234 (17%)
Imports: 45 (3%)
Other: 127 (9%)
langctl team stats --export stats.csv langctl team permissions
Your Permissions:
Role: Admin
Organization: Acme Corp
Capabilities:
✓ View translations
✓ Edit translations
✓ Create projects
✓ Delete projects
✓ Invite members
✓ Manage team
✓ View audit logs
✗ Manage billing (Owner only)
✗ Delete organization (Owner only)
langctl team permissions mike@acme.com langctl team audit
Audit Log (Last 100 entries):
┌─────────────────┬──────────────┬───────────────────┬─────────────┐
│ Timestamp │ User │ Action │ Resource │
├─────────────────┼──────────────┼───────────────────┼─────────────┤
│ Apr 15 14:32 │ sarah@... │ update_key │ home.welcome│
│ Apr 15 14:30 │ mike@... │ export │ mobile-app │
│ Apr 15 14:15 │ sarah@... │ bulk_publish │ auth module │
│ Apr 15 13:45 │ john@... │ invite_member │ new@... │
└─────────────────┴──────────────┴───────────────────┴─────────────┘
langctl team audit --user sarah@acme.com --action update_key
langctl team audit --since 2024-04-01 --export audit-april.json langctl team bulk-invite < team-members.csv
✓ Sent 3 invitations
langctl team bulk-remove old-member1@example.com old-member2@example.com --force
✓ Removed 2 members langctl team notifications --enable
✓ Enabled team notifications
langctl team notifications --disable
langctl team notifications
Notification Settings:
Email Notifications: Enabled
Digest Frequency: Daily
Notify on:
✓ New member joins
✓ Member role changes
✓ Key published
✓ Export completed
✗ Every translation edit Error: Member limit reached for your plan
langctl org info
Plan: Pro (5 members max)
Current Members: 5 / 5
langctl team list
langctl team remove inactive@example.com
langctl org upgrade --plan team langctl team invitations
langctl team invitations resend user@example.com
langctl team invitations --verbose Error: Permission denied: insufficient role
langctl team permissions Next Steps
- Team Collaboration - Web interface guide
- Collaboration Features - Learn workflows
- Subscription Plans - View member limits
- Organization Commands - Org management