-
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Posh.Host.UI.Box.GetBorderLine ( Fixes #373 )
- Loading branch information
StartAutomating
authored and
StartAutomating
committed
Feb 25, 2024
1 parent
7c14569
commit b115543
Showing
1 changed file
with
44 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
Posh.Host.UI.Box.GetBorderLine() | ||
-------------------------------- | ||
|
||
### Synopsis | ||
Gets a border line | ||
|
||
--- | ||
|
||
### Description | ||
|
||
Gets a single border line of a box. | ||
|
||
--- | ||
|
||
### Parameters | ||
#### **LineType** | ||
The type of line. | ||
Valid Values: | ||
|
||
* Top | ||
* Bottom | ||
* Middle | ||
* Row | ||
|
||
|Type |Required|Position|PipelineInput| | ||
|----------|--------|--------|-------------| | ||
|`[String]`|false |1 |false | | ||
|
||
#### **Width** | ||
The width of the border. If no width is provided, will render a border the width of the screen. | ||
|
||
|Type |Required|Position|PipelineInput| | ||
|---------|--------|--------|-------------| | ||
|`[Int32]`|false |2 |false | | ||
|
||
#### **ColumnWidth** | ||
The width of each column. | ||
If this is a decimal less than or equal to 1, it will be considered a percentage of $Width | ||
|
||
|Type |Required|Position|PipelineInput| | ||
|------------|--------|--------|-------------| | ||
|`[Double[]]`|false |3 |false | | ||
|
||
--- |