PowerShell / PowerShell/PSResourceGet

Add ShouldProcess/ConfirmImpact to Uninstall-PSResource

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

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

Từ ngày 19/1/2022.

Area-Uninstall
Ngôn ngữ chính
C#
Star
576
Fork
114
Merge trung bình
1 ngày 2 giờ
Pull request đã merge (30 ngày)
7

Mô tả

Look into adding a confirmation requirement when uninstalling a PSResource. Uninstall-Module does not do it, and maybe we should not do it for Uninstall-PSResource when a single specific module is uninstalled. But since Uninstall-PSResource handles Name wild card characters, we may want to prompt for confirmation in that case.

Uninstall-PSResource MyModule        #No confirmation prompt

Uninstall-PSResource *                         #Prompt for confirmation before uninstalling all modules.
Uninstall-PSResource * -Force              #No confirmation
Uninstall-PSResource * -Confirm:$false   ??

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

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.

Đánh giá

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

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.