Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Validate conflicting short flags in command signatures

Aperta
#400 9 commenti 2 reazioni 1 assegnatario Vedi su GitHub

@acarl005 ci sta già lavorando.

Dal 4/9/2026.

  • #401 di @warp-factories — aperta

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

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.

Lingua principale
Rust
Stelle
6
Fork
11
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di warpdotdev/command-signatures

Tutte le issue di warpdotdev/command-signatures

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.