Azure / Azure/azure-cli

[Task] Help refresh duplicates the `WhatIf` description on every run

Open
#34,038 2 comments 0 reactions 1 assignee Claimed by @aryasadeghi1 View on GitHub
act-quality-productivity-squad Azure CLI Team feature-request
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

The markdown refresh appends the common parameter boilerplate instead of replacing it, so each refresh adds one more identical line. Seven help files across four modules currently carry three or more copies of the `WhatIf` description. This is represented by multiple lines of same description

- Fix the refresh so repeated runs are idempotent for common parameter text
- Collapse the existing duplicates in the affected files

Acceptance: two consecutive refreshes of the same module produce no diff, and no help file contains the line more than once.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.