Enable dynamic install of cmdlets

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

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
25/100
Loại issue
Tính năng
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Công nghệ
powershell
Lĩnh vực
tooling

Hướng nghiên cứu

Không có tệp, bài kiểm thử hoặc điểm vào nào được nêu tên. Hãy bắt đầu bằng việc giải quyết các câu hỏi được đề xuất về những thay đổi của engine PS7, việc đăng ký PSGet, PrivateData, lựa chọn phiên bản, việc hiển thị prompt và chuyển tiếp đối số; công việc chỉ hoàn tất khi thiết kế cài đặt động và phạm vi triển khai của nó được xác định.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

feature_request Issue-Discussion
Summary of the new feature / enhancement

For large families of modules like Az, AWS, MSGraph, Office, etc... users do not want to download all the modules when they only use a subset of the cmdlets. Taking Az as an example, they may determine that the top 5 cmdlets in Az.Compute are implemented and the remaining cmdlets in that module are stubs. When a stub cmdlet is run, it either prompts to confirm installing the necessary sub-module or automatically installs based on some configuration setting. The arguments passed to the cmdlet are then passed to the installed cmdlet to execute.

Proposed technical implementation details (optional)

Need to consider:

  • Can we avoid changes in PS7 engine to support this?
  • How will stubs get registered so PSGet is aware of them (maybe something in PrivateData?)
  • If stubs exist in their own module, but is an older version, then the real implementation will automatically be used as long as it has a newer version
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

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.

Issue khác của PowerShell/PSResourceGet

Tất cả issue của PowerShell/PSResourceGet

Issue tương tự

Thêm issue về C#

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.