From 8a18f13ca870fc3db04f3ecb29dc81cc041b073b Mon Sep 17 00:00:00 2001 From: Jake Hildreth <93942157+TrimarcJake@users.noreply.github.com> Date: Fri, 27 Sep 2024 20:03:10 -0400 Subject: [PATCH] Update get-started.mdx --- PwshSpectreConsole.Docs/src/content/docs/guides/get-started.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PwshSpectreConsole.Docs/src/content/docs/guides/get-started.mdx b/PwshSpectreConsole.Docs/src/content/docs/guides/get-started.mdx index f78f9076..e0a01208 100644 --- a/PwshSpectreConsole.Docs/src/content/docs/guides/get-started.mdx +++ b/PwshSpectreConsole.Docs/src/content/docs/guides/get-started.mdx @@ -30,7 +30,7 @@ $items = @("Red", "Green", "Blue") $chosenItem = Read-SpectreSelection -Title "Select your favorite color" -Choices $items -Color "Green" # Do something with the chosen item -Write-SpectreHost "Your chosen color is '$color'" +Write-SpectreHost "Your chosen color is '$chosenItem'" ``` > Example of a user being prompted with a select list: