Add-SpectreTableRow
Description
Adds a row to a Spectre Console table. The number of columns in the row must match the number of columns in the table.
Examples
Example 1 # This example demonstrates how to add a row to an existing Spectre Console table.
Parameters
Table
The table to which the row will be added.
Type | Required | Position | PipelineInput |
---|---|---|---|
[Table] | true | 1 | false |
Columns
An array of renderable items containing the data to be displayed in the columns of this row.
Type | Required | Position | PipelineInput |
---|---|---|---|
[Array] | false | 2 | true (ByValue) |