Skip to content
ChartForgeX
Command

New-ImageConsoleStoryOutput

Module imageplayground
Inputs
System.String
Outputs
ImagePlayground.PowerShell.ImageConsoleStoryStep

Creates a typed output step for an ImagePlayground console story.

Syntax

New-ImageConsoleStoryOutput [-Style <TerminalTextTone>] [-Text] <String> [<CommonParameters>]
#
Parameter set: All Parameter Sets

Examples

Authored help example

Show successful script output

New-ImageConsoleStoryOutput -Text 'PASS  all checks' -Style Success

The semantic tone is rendered consistently across SVG, HTML, PNG, GIF, and APNG output.

Parameters

-Style TerminalTextTone optionalaliases: Tone
Semantic output color.
Possible values: Default, Muted, Accent, Success, Warning, Error
-Text String requiredposition: 0pipeline: True (ByValue)
One or more lines of terminal output.

Common Parameters

This command supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.

For more information, see about_CommonParameters.

Outputs

ImagePlayground.PowerShell.ImageConsoleStoryStep: Use the console story command, output, table, blank-line, pause, tab, and tab-selection cmdlets to create steps.