Outputs a module's command pattern
Outputs a regular expression that can be used to match any command pattern.
Aspect.ModuleCommandPattern -Module PipeScript # Should -BeOfType ([Regex])The name of a module, or a module info object.
| Type | Required | Position | PipelineInput |
|---|---|---|---|
[Object] |
true | 1 | true (ByPropertyName) |
The suffix to apply to each named capture. Defaults to '_Command'
| Type | Required | Position | PipelineInput |
|---|---|---|---|
[String] |
false | 2 | true (ByPropertyName) |
The prefix to apply to each named capture.
| Type | Required | Position | PipelineInput |
|---|---|---|---|
[String] |
false | 3 | true (ByPropertyName) |
Aspect.ModuleCommandPattern [-Module] <Object> [[-Suffix] <String>] [[-Prefix] <String>] [<CommonParameters>]