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 │
├──────────────────┼──────────┼─────────────────┼────────────────┤
│ [email protected] │ Owner │ Mar 1, 2024 │ 1 hour ago │
│ [email protected] │ Admin │ Mar 5, 2024 │ 3 hours ago │
│ [email protected] │ Member │ Mar 15, 2024 │ 1 day ago │
│ [email protected] │ Member │ Apr 1, 2024 │ 2 days ago │
│ [email protected] │ Viewer │ Apr 10, 2024 │ 1 week ago │
└──────────────────┴──────────┴─────────────────┴────────────────┘
langctl team list --verbose langctl team invite [email protected] --role member
✓ Invitation sent to [email protected]
✓ Role: Member
✓ Expires: April 22, 2024
langctl team invite [email protected] --role admin
langctl team invite [email protected] [email protected] --role member
langctl team invite [email protected] --role member \
--message "Welcome to the translation team!" langctl team role [email protected] --set admin
✓ Updated role for [email protected]: Member -> Admin
langctl team role [email protected] --set member
langctl team info [email protected]
Member: Mike Johnson
Email: [email protected]
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 [email protected]
? Are you sure you want to remove [email protected]? Yes
✓ Removed [email protected] from organization
langctl team remove [email protected] --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 │
├──────────────────────┼──────────┼─────────────────┼────────────┤
│ [email protected] │ Member │ Apr 10, 2024 │ in 3 days │
│ [email protected] │ Viewer │ Apr 12, 2024 │ in 5 days │
└──────────────────────┴──────────┴─────────────────┴────────────┘
langctl team invitations resend [email protected]
✓ Resent invitation to [email protected]
✓ New expiration: April 22, 2024
langctl team invitations revoke [email protected]
✓ Revoked invitation for [email protected] langctl team activity
Recent Activity:
┌──────────────────┬────────────────────────┬─────────────────┐
│ Member │ Action │ When │
├──────────────────┼────────────────────────┼─────────────────┤
│ [email protected] │ Updated 12 keys │ 2 hours ago │
│ [email protected] │ Exported Spanish │ 4 hours ago │
│ [email protected] │ Published 24 keys │ 5 hours ago │
│ [email protected] │ Created project │ 1 day ago │
│ [email protected] │ Invited new member │ 2 days ago │
└──────────────────┴────────────────────────┴─────────────────┘
langctl team activity --member [email protected]
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:
[email protected]: 487 actions (35%)
[email protected]: 342 actions (25%)
[email protected]: 289 actions (21%)
[email protected]: 267 actions (19%)
[email protected]: 0 actions (0%)
Most Active:
1. [email protected] - 487 actions
2. [email protected] - 342 actions
3. [email protected] - 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 [email protected] 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 [email protected] --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 [email protected] [email protected] --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 [email protected]
langctl org upgrade --plan team langctl team invitations
langctl team invitations resend [email protected]
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