Skip to content

Add snapshot command help documentation to RootCommand#18988

Open
verschaevesiebe wants to merge 1 commit intoAzure:mainfrom
verschaevesiebe:feature/snapshot-help
Open

Add snapshot command help documentation to RootCommand#18988
verschaevesiebe wants to merge 1 commit intoAzure:mainfrom
verschaevesiebe:feature/snapshot-help

Conversation

@verschaevesiebe
Copy link
Contributor

@verschaevesiebe verschaevesiebe commented Feb 10, 2026

Description

Add inline help documentation for the experimental snapshot command in RootCommand.cs, including argument descriptions, all supported options (--mode, --tenant-id, --subscription-id, --resource-group, --location, --deployment-name), and usage examples. The help text was derived from the existing SnapshotArguments.cs and SnapshotCommand.cs implementations to ensure accuracy.

Example Usage

bicep snapshot params.bicepparam
bicep snapshot params.bicepparam --mode Overwrite
bicep snapshot params.bicepparam --mode Validate
bicep snapshot params.bicepparam --subscription-id 00000000-0000-0000-0000-000000000000 --resource-group my-rg

Checklist

Microsoft Reviewers: Open in CodeFlow

@verschaevesiebe
Copy link
Contributor Author

@microsoft-github-policy-service agree

@verschaevesiebe
Copy link
Contributor Author

Feel free to keep this open until snapshot goes GA

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.

1 participant