Command parameter aliases like -l or -n arenot supported

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

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

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

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
52/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
csharp
領域
cli

調査の方向性

The payload names no files, so start by locating the argument-parsing layer of the extension-based command engine (the part that maps tokens like -n or --name onto command parameters) and the definition of the group create command used in the report. Read how long-form options are declared there before adding a short-form alias, then reproduce with azure group create -n rg-mygrup -l westeurope. Done means -n resolves to --name and -l to --location for that command, with existing long-form usage unchanged.

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

説明

act-codegen-extensibility-squad act-quality-productivity-squad
Affected surface

CLI (az)

Describe the bug

Command/Script: azure group create -n rg-mygrup -l westeurope
it does not work because aliases are not supported, we have to specify --name and ``--location`. That's more unecessary characters to type and existing scripts will break.

Steps to reproduce
  1. Run azure group create -n rg-mygrup -l westeurope
Errors & debug output

Expected behavior

Aliases that were commonly used in azure cli should be supported with azclips

Environment

Additional context

No response

主要言語
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 を短くまとめたダイジェスト。