Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Validate conflicting short flags in command signatures

Đang mở
#400 9 bình luận 2 reaction 1 người được giao Xem trên GitHub

@acarl005 đang làm issue này rồi.

Từ ngày 4/9/2026.

  • #401 của @warp-factories — đang mở

Đánh giá

Issue này chưa được đánh giá.

Mô tả

enhancement ready-to-implement repro:high triaged

Problem

A handwritten command signature can define the same short flag for multiple options within one command. This produces ambiguous generated shell completions because the completion engine cannot determine which option the short flag represents.

Desired behavior

Validate command-signature option definitions and report a clear error when two options on the same command use the same short flag.

Acceptance criteria

  • Detect duplicate short flags within a single handwritten command signature.
  • Identify the affected command, short flag, and conflicting options in the validation error.
  • Allow the same short flag on unrelated commands or subcommands.
  • Add focused valid and invalid fixture coverage.
  • Run the check through the repository’s existing validation or presubmit path.

Scope

This concerns command-completion signature correctness only; it does not require Warp application UI changes.

@warp-factory Please triage and route this issue using the deployed ownership source.

Ngôn ngữ chính
Rust
Star
6
Fork
13
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của warpdotdev/command-signatures

Tất cả issue của warpdotdev/command-signatures

Issue tương tự

Thêm issue về Rust

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.