devcontainers / devcontainers/features

Azure CLI with Bicep works differently

オープン
#336 コメント 10 件 リアクション 0 件 担当者 0 名 GitHub で見る
cli-bug
主要言語
Shell
スター
1.5k
フォーク
621
平均マージ
6日 53分
マージ済み PR(30日)
9

説明

Hi, Team.

When I added the `azure-cli` feature to the devcontainer settings, I enabled the following option:

* `"installBicep": true`

Because it's a part of Azure CLI option, I was expecting that I would be able to use the following command:

```bash
az bicep version
```

However, it doesn't work. Rather it works in the following way:

```bash
bicep --version
```

It means that the Bicep CLI works as a standalone CLI instead of the part of Azure CLI. And I found the following codebase:

https://github.com/devcontainers/features/blob/7fa90110d762797cc0b1c2fe8fcc028c9b813d56/src/azure-cli/install.sh#L205-L208

Is there a reason that we use the standalone Bicep CLI, rather than Azure CLI integrated one?

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

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

調査の方向性

src/azure-cli/install.sh の205-208行目を読み、installBicep オプションがスタンドアロンの bicep --version コマンドを、想定される az bicep version コマンドとどのようにサポートしているかを比較してください。Azure CLI の意図された動作を確認し、issue に実装変更が必要なのか、それともドキュメントの明確化が必要なのかを特定してください。

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

評価

技術スタック
azure, shell
領域
cloud, devops, tooling
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

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

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