Skip to content

KevinMarquette/Select-Ast

Repository files navigation

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.

About

A PowerShell module for working with the AST

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published