Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
ShaunLawrie committed Nov 16, 2023
1 parent 2efd4a5 commit 360aee3
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ title: Invoke-SpectreScriptBlockQuietly

### Synopsis
A testing function for invoking a script block in a background job inside Invoke-SpectreCommandWithProgress to help with https://github.com/ShaunLawrie/PwshSpectreConsole/issues/7
:::caution
This is experimental.
:::



Expand Down Expand Up @@ -63,7 +66,7 @@ The script block to be invoked.

#### **Level**

Suppresses the output completely if this switch is specified.
Suppresses the output by varying amounts.



Expand All @@ -79,7 +82,7 @@ Valid Values:

|Type |Required|Position|PipelineInput|
|----------|--------|--------|-------------|
|`[Switch]`|false |named |false |
|`[String]`|false |2 |false |



Expand All @@ -90,6 +93,6 @@ Valid Values:

### Syntax
```powershell
Invoke-SpectreScriptBlockQuietly [[-Command] <ScriptBlock>] [-Level] [<CommonParameters>]
Invoke-SpectreScriptBlockQuietly [[-Command] <ScriptBlock>] [[-Level] <String>] [<CommonParameters>]
```

Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ Valid Values:

* y
* n
* none



Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,14 @@ The alignment of the text. Valid values are "Left", "Right", and "Centered". The



Valid Values:

* Left
* Right
* Center






Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,14 @@ The alignment of the text in the rule. Valid values are Left, Center, and Right.



Valid Values:

* Left
* Right
* Center






Expand Down

0 comments on commit 360aee3

Please sign in to comment.