Skip to content

Get-PlasterTemplate : Add a possibility to retrieve all template module regardless of the version #233

Closed

Description

@LaurentDardenne

Today Get-PlasterTemplate retrieve the templates only for the current module version (1.0.1).

It not possible to known which version of the Plaster module I must use for each Template.

And to filter the templates, Get-PlasterTemplate use the template module manifest not an information given by the user.

Activity

  1. LaurentDardenne commented on Feb 9, 2017

    @LaurentDardenne
    Author

    I use the latest build, and the Get-Plastertemplate do not return the type of the template (Project or Item);

    >Get-PlasterTemplate
    
    Title        : AddPSScriptAnalyzerSettings
    Author       : Plaster project
    Version      : 1.0.0
    Description  : Add a PowerShell Script Analyzer settings file to the root of your workspace.
    Tags         : {PSScriptAnalyzer, settings}
    TemplatePath : C:\Program Files\WindowsPowerShell\Modules\plaster\1.0.2\Templates\AddPSScriptAnalyzerSettings
    
    Title        : New PowerShell Manifest Module
    Author       : Plaster
    Version      : 1.0.0
    Description  : Creates files for a simple, non-shared PowerShell script module.
    Tags         : {Module, ModuleManifest}
    TemplatePath : C:\Program Files\WindowsPowerShell\Modules\plaster\1.0.2\Templates\NewPowerShellScriptModule
  2. daviwil commented on Feb 9, 2017

    @daviwil
    Contributor

    I haven't finished updating the Get-PlasterTemplate cmdlet yet, Keith and I have been too busy with other projects lately to get the 1.1.0 release out with these changes.

  3. LaurentDardenne commented on Feb 9, 2017

    @LaurentDardenne
    Author

    Ok thanks.
    All things come to him who waits :-)

  4. larssb commented on Jul 2, 2018

    @larssb

    Any update on this? Would be a great feature.

  5. TylerLeonhardt commented on Jul 2, 2018

    @TylerLeonhardt
    Collaborator

    Haven't gotten around to this because of other project - feel free to contribute! Plaster is all PowerShell :)

    Here's the code for Get-PlasterTemplate
    https://github.com/PowerShell/Plaster/blob/master/src/GetPlasterTemplate.ps1

  6. locked and limited conversation to collaborators on Feb 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions