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

Call the parser function with conditional -Verbose

Aperta
#199 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

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

Direzione di ricerca

No file or test is named. Start by locating where Crescendo invokes the parser and inspect how common parameters such as VerbosePreference are handled. The change is complete when parser calls conditionally receive the caller's verbose setting, and a parser using Write-Verbose behaves like the MyParser example.

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

Descrizione

Issue-Enhancement
Summary of the new feature / enhancement

As a PowerShell scripter
I'd like to have the option to get verbose output
to better trouble shoot my work

Proposed technical implementation details (optional)

Make sure the current Verbose settings is transferred with the calls to the parser.

function MyParser {
  [cmdletbinding()]
  param()

  Write-Verbose 'Hello'
}

Using the syntax below will use verbose mode conditionally based on the current environment setting from where the call is made.

MyParser -Verbose:$VerbosePreference

Lingua principale
PowerShell
Stelle
437
Fork
49
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

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 PowerShell/Crescendo

Tutte le issue di PowerShell/Crescendo

Issue simili

Altre issue su CLI

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.