Skip to content

PipeScript should simplify Search-PipeScript #115

Closed
@StartAutomating

Description

@StartAutomating

Since many transpilers could depend on searching portions of an abstract syntax tree of script, Search-PipeScript should simplify this for all transpilers.

This should be able to search:

  • A ScriptBlock
  • A File
    • .ps1 files should be searchable as a -ScriptBlock
    • .ps files should be searchable as a -ScriptBlock
  • Text (using Regex)

For [ScriptBlock] input, Search-PipeScript should:

  • Allow searching by type
  • Allow searching by shortened type (assuming the namespace)
  • Allow searching by type name regex or wildcard

For [string] input, Search-PipeScript should:

  • Allow searches by Regular Expression

Results should be returned with a consistent property bag shape and typename.

Metadata

Metadata

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions