Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[0.76] Introducing --list option to init-windows #13991

Merged

Conversation

danielayala94
Copy link
Contributor

@danielayala94 danielayala94 commented Oct 17, 2024

Description

Backporting #13986 into 0.76

Introducing --list option to init-windows command.

Type of Change

  • New feature (non-breaking change which adds functionality)

Why

Displays a list of templates available for usage with init-windows.

Resolves #13459

What

  • Added --list description, in case developers look for command help.
  • Created a function to display template key, name and description in a friendly-readable format.

Screenshots

TemplateList.mp4

Testing

Ran the cli tests locally, with all tests passing after the change.

Changelog

Should this change be included in the release notes: yes.

Introduced --list option to init-windows command.

Microsoft Reviewers: Open in CodeFlow
Microsoft Reviewers: Open in CodeFlow

* Added --list option to init-windows

* Change files

* Remove unnecessary indentation

* Indicate the default template
@danielayala94 danielayala94 requested review from a team as code owners October 17, 2024 20:46
@danielayala94 danielayala94 enabled auto-merge (squash) October 18, 2024 20:21
@danielayala94 danielayala94 merged commit c147dcb into microsoft:0.76-stable Oct 18, 2024
103 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