Azure / Azure/autorest.powershell

Make cmdlet metadata available in non-debug build

Open
#988 0 comments 0 reactions 0 assignees View on GitHub
feature-request P2 Ramp Up
Dominant language
C#
Stars
123
Forks
99
PR merge metrics
No merged PRs in 30d

Description

You can find the metadata of a cmdlet (for example "subject") as comments in the generated cmdlet code. However it is only available in debug mode (`autorest --debug`).

Considering (a) this information is quite useful for writing directives and (b) it is comment so it won't increase assembly size, **I suggest making cmdlet metadata also available in non-debug build.**

At last, add a guide in [directives.md](https://github.com/Azure/autorest.powershell/blob/main/docs/directives.md) to describe how to find "subject" of a cmdlet.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.