Enable dynamic install of cmdlets

オープン
#925 コメント 2 件 リアクション 1 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
25/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
powershell
領域
tooling

調査の方向性

ファイル、テスト、エントリーポイントは指定されていません。まず、PS7 エンジンの変更、PSGet の登録、PrivateData、バージョン選択、プロンプト表示、引数の転送に関して提案されている質問を解決してください。動的インストールの設計とその実装範囲が定義された時点で、作業は完了です。

索引モデルが issue の本文から書いたものです。

説明

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
主要言語
C#
スター
576
フォーク
114
平均マージ
1日 2時間
マージ済み PR(30日)
7

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

PowerShell/PSResourceGet のほかの issue

PowerShell/PSResourceGet の issue をすべて見る

似ている issue

C# の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。