[B007-1][CLI] Built-in version command is missing from PowerShell tab completion

オープン 初心者向け
#1,319 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

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

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
70/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
csharp, powershell
領域
cli

調査の方向性

az.completions.ps1 を生成する PowerShell 補完ジェネレーターから始め、version が survey や troubleshoot のような動作しているトップレベルコマンドとどのように登録されているかを比較してください。補完生成のテストを実行し、その後 PowerShell で生成されたスクリプトを再読み込みし、az ver<Tab> が version を候補として提示することを確認してください。完了とは、候補が表示され、既存の補完が引き続き動作することを意味します。

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

説明

act-observability-squad bug
Affected surface

CLI (az)

Describe the bug

The version command is listed in root help and works when entered manually, but PowerShell tab completion does not suggest it. Other top-level commands, including troubleshoot and survey, complete successfully in the same PowerShell session.

Related command

az ver<Tab>
Steps to reproduce
  1. Use AzCLIPS CLI 0.1.7 in PowerShell with completion.enabled=true.
  2. Load the completion script:
. "$env:LOCALAPPDATA\Programs\azcli\completions\az.completions.ps1"
  1. Run az --help and confirm that version is listed.
  2. Type az ver and press Tab, without pressing Enter.
Errors & debug output
No version completion candidate is offered.
As a working comparison, typing `az sur` and pressing Tab suggests `survey`.
Expected behavior

Complete az ver to az version consistently with the available command shown in root help.

Environment
OS: Microsoft Windows 10.0.26300
Shell: PowerShell 7.6.9
AzCLIPS CLI: 0.1.7
.NET runtime: 10.0.14
Additional context

The command itself works, this issue is limited to its discoverability through completion. No Azure resource operation is required.

主要言語
C#
スター
18
フォーク
10
平均マージ
1日 20時間
マージ済み PR(30日)
157

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

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

Azure/azclips のほかの issue

Azure/azclips の issue をすべて見る

似ている issue

C# の issue をもっと見る

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

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