A PowerShell module for working with the AST
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.vscode
Select-Ast
demos
docs
spec
tests
.gitignore
.vsts-ci.yml
LICENSE
PITCHME.md
appveyor.yml
build.depend.psd1
build.ps1
deploy.PSDeploy.ps1
mkdocs.yml
module.build.ps1
readme.md
test.depend.psd1

readme.md

Select-Ast

A PowerShell module for working with the AST

EXAMPLE

$script = {
    $var = 1
    function test-function {
        param($string = 'generic message')
        Write-Output -InputObject $string
    }

    function other-function {
        test-function -string 'new message'
    }
}

$script | Select-AST -Type FunctionDefinitionAst {
    $_.Name -like 'other-*'
}

GitPitch PitchMe presentation

Getting Started

Install from the PSGallery and Import the module

Install-Module Select-Ast
Import-Module Select-Ast

More Information

For more information

This project was generated using Kevin Marquette's Full Module Plaster Template.