Skip to content

Add generate and verify commands#542

Merged
DanielMicrosoft merged 7 commits intoAzure:devfrom
DanielMicrosoft:xxxxx-add-cmdidx-azdev-commands
Mar 31, 2026
Merged

Add generate and verify commands#542
DanielMicrosoft merged 7 commits intoAzure:devfrom
DanielMicrosoft:xxxxx-add-cmdidx-azdev-commands

Conversation

@DanielMicrosoft
Copy link
Copy Markdown
Contributor

Related command

Description


This checklist is used to make sure that common guidelines for a pull request are followed.

  • pylint azdev --rcfile=.pylintrc -r n

  • flake8 --statistics --append-config=.flake8 azdev

@azure-client-tools-bot-prd
Copy link
Copy Markdown

Hi @DanielMicrosoft,
Please write the description of change into HISTORY.rst.
If you want to release a new azdev version, please update the VERSION in init.py as well.

@DanielMicrosoft DanielMicrosoft changed the title feature: add commands for generate/verify json Add generate and verify commands Mar 30, 2026
@DanielMicrosoft DanielMicrosoft marked this pull request as ready for review March 30, 2026 05:01
import os
import sys

from knack.util import CLIError
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@necusjz , it may be correct in azure-cli-dev-tools to use this general error from Knack, it seems the rest of the codebase uses CLIError, and Knack is an explicit dependency of azure-cli-dev-tools, whereas AzureCLI is not. Those error types come from azure-cli itself.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

make sense.

@DanielMicrosoft DanielMicrosoft merged commit 8e22834 into Azure:dev Mar 31, 2026
32 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants