-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'prerelease' of github.com:ShaunLawrie/PwshSpectreConsol…
…e into prerelease
- Loading branch information
Showing
54 changed files
with
632 additions
and
549 deletions.
There are no files selected for viewing
96 changes: 48 additions & 48 deletions
96
PwshSpectreConsole.Docs/src/assets/examples/addspectrejobExample1.cast
Large diffs are not rendered by default.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
PwshSpectreConsole.Docs/src/assets/examples/formatspectrejsonExample1.cast
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{"version": 2, "width": 110, "height": 19, "title": "Example 0", "env": {"TERM": "Spectre.Console"}} | ||
[0, "o", "\u001B[38;5;2m\u256D\u2500Employee Data\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u256E\u001B[0m\r\n\u001B[38;5;2m\u2502\u001B[0m \u001B[38;5;9m{\u001B[0m \u001B[38;5;2m\u2502\u001B[0m\r\n\u001B[38;5;2m\u2502\u001B[0m \u001B[38;5;12m\u0022Name\u0022:\u001B[0m \u001B[38;5;11m\u0022John\u0022\u001B[0m\u001B[38;5;72m,\u001B[0m \u001B[38;5;2m\u2502\u001B[0m\r\n\u001B[38;5;2m\u2502\u001B[0m \u001B[38;5;12m\u0022Age\u0022:\u001B[0m \u001B[38;5;50m25\u001B[0m\u001B[38;5;72m,\u001B[0m \u001B[38;5;2m\u2502\u001B[0m\r\n\u001B[38;5;2m\u2502\u001B[0m \u001B[38;5;12m\u0022City\u0022:\u001B[0m \u001B[38;5;11m\u0022New York\u0022\u001B[0m\u001B[38;5;72m,\u001B[0m \u001B[38;5;2m\u2502\u001B[0m\r\n\u001B[38;5;2m\u2502\u001B[0m \u001B[38;5;12m\u0022IsEmployed\u0022:\u001B[0m \u001B[38;5;6mtrue\u001B[0m\u001B[38;5;72m,\u001B[0m \u001B[38;5;2m\u2502\u001B[0m\r\n\u001B[38;5;2m\u2502\u001B[0m \u001B[38;5;12m\u0022Salary\u0022:\u001B[0m \u001B[38;5;50m10\u001B[0m\u001B[38;5;72m,\u001B[0m \u001B[38;5;2m\u2502\u001B[0m\r\n\u001B[38;5;2m\u2502\u001B[0m \u001B[38;5;12m\u0022Hobbies\u0022:\u001B[0m \u001B[38;5;2m[\u001B[0m \u001B[38;5;2m\u2502\u001B[0m\r\n\u001B[38;5;2m\u2502\u001B[0m \u001B[38;5;11m\u0022Reading\u0022\u001B[0m\u001B[38;5;72m,\u001B[0m \u001B[38;5;2m\u2502\u001B[0m\r\n\u001B[38;5;2m\u2502\u001B[0m \u001B[38;5;11m\u0022Swimming\u0022\u001B[0m \u001B[38;5;2m\u2502\u001B[0m\r\n\u001B[38;5;2m\u2502\u001B[0m \u001B[38;5;2m]\u001B[0m\u001B[38;5;72m,\u001B[0m \u001B[38;5;2m\u2502\u001B[0m\r\n\u001B[38;5;2m\u2502\u001B[0m \u001B[38;5;12m\u0022Address\u0022:\u001B[0m \u001B[38;5;9m{\u001B[0m \u001B[38;5;2m\u2502\u001B[0m\r\n\u001B[38;5;2m\u2502\u001B[0m \u001B[38;5;12m\u0022ZipCode\u0022:\u001B[0m \u001B[38;5;219mnull\u001B[0m\u001B[38;5;72m,\u001B[0m \u001B[38;5;2m\u2502\u001B[0m\r\n\u001B[38;5;2m\u2502\u001B[0m \u001B[38;5;12m\u0022Street\u0022:\u001B[0m \u001B[38;5;11m\u0022123 Main St\u0022\u001B[0m \u001B[38;5;2m\u2502\u001B[0m\r\n\u001B[38;5;2m\u2502\u001B[0m \u001B[38;5;9m}\u001B[0m \u001B[38;5;2m\u2502\u001B[0m\r\n\u001B[38;5;2m\u2502\u001B[0m \u001B[38;5;9m}\u001B[0m \u001B[38;5;2m\u2502\u001B[0m\r\n\u001B[38;5;2m\u2570\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u256F\u001B[0m\r\n"] | ||
[0, "o", "\u001B[38;5;2m\u256D\u2500Employee Data\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u256E\u001B[0m\r\n\u001B[38;5;2m\u2502\u001B[0m \u001B[38;5;9m{\u001B[0m \u001B[38;5;2m\u2502\u001B[0m\r\n\u001B[38;5;2m\u2502\u001B[0m \u001B[38;5;12m\u0022Name\u0022:\u001B[0m \u001B[38;5;11m\u0022John\u0022\u001B[0m\u001B[38;5;72m,\u001B[0m \u001B[38;5;2m\u2502\u001B[0m\r\n\u001B[38;5;2m\u2502\u001B[0m \u001B[38;5;12m\u0022Age\u0022:\u001B[0m \u001B[38;5;50m25\u001B[0m\u001B[38;5;72m,\u001B[0m \u001B[38;5;2m\u2502\u001B[0m\r\n\u001B[38;5;2m\u2502\u001B[0m \u001B[38;5;12m\u0022City\u0022:\u001B[0m \u001B[38;5;11m\u0022New York\u0022\u001B[0m\u001B[38;5;72m,\u001B[0m \u001B[38;5;2m\u2502\u001B[0m\r\n\u001B[38;5;2m\u2502\u001B[0m \u001B[38;5;12m\u0022IsEmployed\u0022:\u001B[0m \u001B[38;5;6mtrue\u001B[0m\u001B[38;5;72m,\u001B[0m \u001B[38;5;2m\u2502\u001B[0m\r\n\u001B[38;5;2m\u2502\u001B[0m \u001B[38;5;12m\u0022Salary\u0022:\u001B[0m \u001B[38;5;50m10\u001B[0m\u001B[38;5;72m,\u001B[0m \u001B[38;5;2m\u2502\u001B[0m\r\n\u001B[38;5;2m\u2502\u001B[0m \u001B[38;5;12m\u0022Hobbies\u0022:\u001B[0m \u001B[38;5;2m[\u001B[0m \u001B[38;5;2m\u2502\u001B[0m\r\n\u001B[38;5;2m\u2502\u001B[0m \u001B[38;5;11m\u0022Reading\u0022\u001B[0m\u001B[38;5;72m,\u001B[0m \u001B[38;5;2m\u2502\u001B[0m\r\n\u001B[38;5;2m\u2502\u001B[0m \u001B[38;5;11m\u0022Swimming\u0022\u001B[0m \u001B[38;5;2m\u2502\u001B[0m\r\n\u001B[38;5;2m\u2502\u001B[0m \u001B[38;5;2m]\u001B[0m\u001B[38;5;72m,\u001B[0m \u001B[38;5;2m\u2502\u001B[0m\r\n\u001B[38;5;2m\u2502\u001B[0m \u001B[38;5;12m\u0022Address\u0022:\u001B[0m \u001B[38;5;9m{\u001B[0m \u001B[38;5;2m\u2502\u001B[0m\r\n\u001B[38;5;2m\u2502\u001B[0m \u001B[38;5;12m\u0022Street\u0022:\u001B[0m \u001B[38;5;11m\u0022123 Main St\u0022\u001B[0m\u001B[38;5;72m,\u001B[0m \u001B[38;5;2m\u2502\u001B[0m\r\n\u001B[38;5;2m\u2502\u001B[0m \u001B[38;5;12m\u0022ZipCode\u0022:\u001B[0m \u001B[38;5;219mnull\u001B[0m \u001B[38;5;2m\u2502\u001B[0m\r\n\u001B[38;5;2m\u2502\u001B[0m \u001B[38;5;9m}\u001B[0m \u001B[38;5;2m\u2502\u001B[0m\r\n\u001B[38;5;2m\u2502\u001B[0m \u001B[38;5;9m}\u001B[0m \u001B[38;5;2m\u2502\u001B[0m\r\n\u001B[38;5;2m\u2570\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u256F\u001B[0m\r\n"] | ||
|
||
|
2 changes: 1 addition & 1 deletion
2
PwshSpectreConsole.Docs/src/assets/examples/formatspectretableExample2.cast
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{"version": 2, "width": 110, "height": 9, "title": "Example 1", "env": {"TERM": "Spectre.Console"}} | ||
[0, "o", "\u001B[38;5;12m\u2554\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2566\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2566\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2557\u001B[0m\r\n\u001B[38;5;12m\u2551\u001B[0m FileName \u001B[38;5;12m\u2551\u001B[0m Last Updated \u001B[38;5;12m\u2551\u001B[0m Drive \u001B[38;5;12m\u2551\u001B[0m\r\n\u001B[38;5;12m\u2560\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u256C\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u256C\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2563\u001B[0m\r\n\u001B[38;5;12m\u2551\u001B[0m \u001B[38;5;15;48;5;32mHelpers.psm1\u001B[0m \u001B[38;5;12m\u2551\u001B[0m \u001B[38;5;32m03/15/2024 11:21:56\u001B[0m \u001B[38;5;12m\u2551\u001B[0m \u001B[38;5;0;48;5;120m/\u001B[0m \u001B[38;5;12m\u2551\u001B[0m\r\n\u001B[38;5;12m\u2551\u001B[0m \u001B[38;5;15;48;5;32mMocks.psm1\u001B[0m \u001B[38;5;12m\u2551\u001B[0m \u001B[38;5;32m03/15/2024 11:21:56\u001B[0m \u001B[38;5;12m\u2551\u001B[0m \u001B[38;5;0;48;5;120m/\u001B[0m \u001B[38;5;12m\u2551\u001B[0m\r\n\u001B[38;5;12m\u2551\u001B[0m \u001B[38;5;15;48;5;32mUpdateDocs.ps1\u001B[0m \u001B[38;5;12m\u2551\u001B[0m \u001B[38;5;32m03/15/2024 11:21:56\u001B[0m \u001B[38;5;12m\u2551\u001B[0m \u001B[38;5;0;48;5;120m/\u001B[0m \u001B[38;5;12m\u2551\u001B[0m\r\n\u001B[38;5;12m\u255A\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2569\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2569\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u255D\u001B[0m\r\n"] | ||
[0, "o", "\u001B[38;5;12m\u2554\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2566\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2566\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2557\u001B[0m\r\n\u001B[38;5;12m\u2551\u001B[0m FileName \u001B[38;5;12m\u2551\u001B[0m Last Updated \u001B[38;5;12m\u2551\u001B[0m Drive \u001B[38;5;12m\u2551\u001B[0m\r\n\u001B[38;5;12m\u2560\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u256C\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u256C\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2563\u001B[0m\r\n\u001B[38;5;12m\u2551\u001B[0m \u001B[38;5;15;48;5;32mHelpers.psm1\u001B[0m \u001B[38;5;12m\u2551\u001B[0m \u001B[38;5;32m03/15/2024 11:41:46\u001B[0m \u001B[38;5;12m\u2551\u001B[0m \u001B[38;5;0;48;5;120m/\u001B[0m \u001B[38;5;12m\u2551\u001B[0m\r\n\u001B[38;5;12m\u2551\u001B[0m \u001B[38;5;15;48;5;32mMocks.psm1\u001B[0m \u001B[38;5;12m\u2551\u001B[0m \u001B[38;5;32m03/15/2024 11:41:46\u001B[0m \u001B[38;5;12m\u2551\u001B[0m \u001B[38;5;0;48;5;120m/\u001B[0m \u001B[38;5;12m\u2551\u001B[0m\r\n\u001B[38;5;12m\u2551\u001B[0m \u001B[38;5;15;48;5;32mUpdateDocs.ps1\u001B[0m \u001B[38;5;12m\u2551\u001B[0m \u001B[38;5;32m03/15/2024 11:41:46\u001B[0m \u001B[38;5;12m\u2551\u001B[0m \u001B[38;5;0;48;5;120m/\u001B[0m \u001B[38;5;12m\u2551\u001B[0m\r\n\u001B[38;5;12m\u255A\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2569\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2569\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u255D\u001B[0m\r\n"] | ||
|
||
|
22 changes: 11 additions & 11 deletions
22
PwshSpectreConsole.Docs/src/assets/examples/getspectredemocolorsExample1.cast
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 |
---|---|---|
@@ -1,21 +1,21 @@ | ||
{"version": 2, "width": 110, "height": 20, "title": "Example 0", "env": {"TERM": "Spectre.Console"}} | ||
[0, "o", " \r\n"] | ||
[0, "o", "\u2500\u2500 \u001B[38;5;12mColors\u001B[0m \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\r\n"] | ||
[0, "o", " \r\n"] | ||
[0.02, "o", "\u001B[38;5;0;48;5;14m Aqua \u001B[0m "] | ||
[0.02, "o", "\u001B[38;5;14mAqua\u001B[0m\r\n"] | ||
[0.02, "o", "\u001B[38;5;0;48;5;122m Aquamarine1_1 \u001B[0m "] | ||
[0.004, "o", " \r\n"] | ||
[0.016, "o", "\u001B[38;5;0;48;5;14m Aqua \u001B[0m "] | ||
[0.016, "o", "\u001B[38;5;14mAqua\u001B[0m\r\n"] | ||
[0.016, "o", "\u001B[38;5;0;48;5;122m Aquamarine1_1 \u001B[0m "] | ||
[0.02, "o", "\u001B[38;5;122mAquamarine1_1\u001B[0m\r\n"] | ||
[0.02, "o", "\u001B[38;5;0;48;5;86m Aquamarine1 \u001B[0m "] | ||
[0.02, "o", "\u001B[38;5;86mAquamarine1\u001B[0m\r\n"] | ||
[0.02, "o", "\u001B[38;5;0;48;5;79m Aquamarine3 \u001B[0m "] | ||
[0.02, "o", "\u001B[38;5;79mAquamarine3\u001B[0m\r\n"] | ||
[0.024, "o", " \r\n"] | ||
[0.024, "o", "\u2500\u2500 \u001B[38;5;12mHelp\u001B[0m \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\r\n"] | ||
[0.024, "o", " \r\n"] | ||
[0.024, "o", "The colors can be passed as the \u0022-Color\u0022 parameter for most commands or used in Spectre Console markup like \r\nso:\r\n\r\n"] | ||
[0.024, "o", " PS\u003E \u001B[38;5;11mWrite-SpectreHost\u001B[0m \u001B[38;5;39m\u0022I am [Red]colored text[/] using [Yellow1 on Turquoise4]Spectre markdown[/]!\u0022\u001B[0m\r\n"] | ||
[0.024, "o", " \u001B[38;5;15;48;5;236mI am \u001B[0m\u001B[38;5;9;48;5;236mcolored text\u001B[0m\u001B[38;5;15;48;5;236m using \u001B[0m\u001B[38;5;226;48;5;30mSpectre markdown\u001B[0m\u001B[38;5;15;48;5;236m! \u001B[0m\r\n"] | ||
[0.024, "o", "\r\nFor more markdown hints see \u001B]8;id=700057646;https://spectreconsole.net/markup\u001B\\https://spectreconsole.net/markup\u001B]8;;\u001B\\\r\n\r\n"] | ||
[0.02, "o", " \r\n"] | ||
[0.02, "o", "\u2500\u2500 \u001B[38;5;12mHelp\u001B[0m \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\r\n"] | ||
[0.02, "o", " \r\n"] | ||
[0.02, "o", "The colors can be passed as the \u0022-Color\u0022 parameter for most commands or used in Spectre Console markup like \r\nso:\r\n\r\n"] | ||
[0.02, "o", " PS\u003E \u001B[38;5;11mWrite-SpectreHost\u001B[0m \u001B[38;5;39m\u0022I am [Red]colored text[/] using [Yellow1 on Turquoise4]Spectre markdown[/]!\u0022\u001B[0m\r\n"] | ||
[0.02, "o", " \u001B[38;5;15;48;5;236mI am \u001B[0m\u001B[38;5;9;48;5;236mcolored text\u001B[0m\u001B[38;5;15;48;5;236m using \u001B[0m\u001B[38;5;226;48;5;30mSpectre markdown\u001B[0m\u001B[38;5;15;48;5;236m! \u001B[0m\r\n"] | ||
[0.02, "o", "\r\nFor more markdown hints see \u001B]8;id=1743818556;https://spectreconsole.net/markup\u001B\\https://spectreconsole.net/markup\u001B]8;;\u001B\\\r\n\r\n"] | ||
|
||
|
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
108 changes: 54 additions & 54 deletions
108
PwshSpectreConsole.Docs/src/assets/examples/getspectreimageexperimentalExample1.cast
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.