Skip to content

Team command parameter consistency: --email vs --user-id #6

Description

@jage

Issue

The team commands currently use inconsistent parameter names for identifying users:

  • team invite --email <string> - Uses email for inviting
  • team update --user-id <string> - Uses user-id (UUID) for updating
  • team remove --email <string> - Uses email for removing

Questions

  1. Should we standardize on one approach?

    • Option A: Always use --email for user identification
    • Option B: Always use --user-id for user identification
    • Option C: Keep current behavior (different commands use different identifiers based on what's most natural)
  2. If we standardize, which identifier is preferred?

    • Email is more user-friendly and human-readable
    • User ID (UUID) is more consistent with instance/VPC commands that use numeric IDs

Context

This was discovered during a CLI parameter consistency audit. All instance and VPC commands now consistently use --id flags instead of positional arguments.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions