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

Filter the list of templates shown by default #3147

Merged
merged 2 commits into from
Aug 28, 2019

Conversation

lukehoban
Copy link
Member

If any templates are marked as Important: true then by default show only those templates along with an option to see additional templates.

Fixes #3094.

lukehoban added a commit to pulumi/templates that referenced this pull request Aug 27, 2019
Along with pulumi/pulumi#3147 this will allow displaying only the Important templates by default on `pulumi new`, while still allowing users to see "additional templates".
Copy link
Member

@justinvp justinvp left a comment

Choose a reason for hiding this comment

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

LGTM 🎉

cmd/new.go Show resolved Hide resolved
cmd/new.go Show resolved Hide resolved
cmd/new.go Show resolved Hide resolved
cmd/new.go Show resolved Hide resolved
lukehoban added a commit to pulumi/templates that referenced this pull request Aug 28, 2019
Along with pulumi/pulumi#3147 this will allow displaying only the Important templates by default on pulumi new, while still allowing users to see "additional templates".

Part of #3094.
If any templates are marked as `Important: true` then by default show only those templates along with an option to see additional templates.

Fixes #3094.
@lukehoban lukehoban merged commit f0a2407 into master Aug 28, 2019
@pulumi-bot pulumi-bot deleted the lukehoban/filtertemplates branch August 28, 2019 00:56
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.

pulumi new should show a catered selection of templates
3 participants