techthoughts2 / Catesta

Catesta is a PowerShell module and vault project generator. It uses templates to rapidly scaffold test and build integration for a variety of CI/CD platforms.

Home Page:https://www.catesta.dev/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

VSCode question prompt not present in all templates

techthoughts2 opened this issue · comments

Description

Presently, only the Vanilla module template prompts the user for a VSCode files choice:

<parameter name='VSCode' type='choice' default='0' store='text' prompt='Would you like to add helpful VSCode files for your project?'>
    <choice label='&amp;Yes' help="VSCode files will be added to make editing in VSCode easier." value="Yes"/>
    <choice label='&amp;No' help="VSCode files will not be added." value="No"/>
</parameter>

The rest of the templates just add the files natively.

Describe the solution you'd like

Given the following:

  • The VSCode files are quite useful
  • The VSCode files can simply be deleted if not using VSCode
  • Most users are using VSCode
  • The majority of templates have included them by default since day 1 release of Catesta

I'm opting to just remove the singular prompt on the vanilla module template.
The default behavior moving forward will be that the VSCode files will be included during module creation.

Describe any alternatives you've considered

The alternative would be to prompt the user to decide for VSCode files each time.