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

--force means different things in 'stop' and 'cert remove'

Aperta
#1,928 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
65/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
csharp
Ambito
cli

Direzione di ricerca

Start by reading DevProxy/Commands/StopCommand.cs and DevProxy/Commands/CertCommand.cs to compare how each command defines and handles --force. Check the stop command's tests and nearby CLI option tests to see how its behavior is verified. Decide how to introduce a distinct kill option while preserving the deprecated alias, and update the tests to cover both; done means --force consistently skips safety checks and the stop behavior remains available under the new option.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Description

The --force / -f option means different things in different commands:

Command Meaning of --force
devproxy cert remove --force Don't prompt for confirmation
devproxy stop --force Kill the process instead of stopping gracefully

Code:

Most CLIs use --force to mean "skip confirmation or safety checks", which matches cert remove. For terminating a process, tools typically use a separate verb or option (for example docker kill vs docker stop, or kill -9).

Expected behavior

--force has one meaning across Dev Proxy commands. Consider renaming the stop option (for example --kill), keeping --force as a deprecated alias for a transition period.

Lingua principale
C#
Stelle
838
Fork
90
Merge medio
2g 6h
PR unite (30g)
69

Preparare l'ambiente

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 dotnet/dev-proxy

Tutte le issue di dotnet/dev-proxy

Issue simili

Altre issue su C#

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.