Skip to content

Commit

Permalink
Merge branch 'prerelease' of github.com:ShaunLawrie/PwshSpectreConsol…
Browse files Browse the repository at this point in the history
…e into prerelease
  • Loading branch information
ShaunLawrie committed Mar 15, 2024
2 parents 0c5fc1e + 89cf492 commit 31c4758
Show file tree
Hide file tree
Showing 25 changed files with 1 addition and 729 deletions.
2 changes: 1 addition & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
@@ -1 +1 @@
**/*.cast merge=ours linguist-generated=true
*.cast binary
58 changes: 0 additions & 58 deletions PwshSpectreConsole.Docs/public/examples/addspectrejobExample1.cast

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,4 +0,0 @@
{"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\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"]


Original file line number Diff line number Diff line change
@@ -1,4 +0,0 @@
{"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\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\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;32m15/03/2024 10:17:07 pm\u001B[0m \u001B[38;5;12m\u2551\u001B[0m \u001B[38;5;0;48;5;120mC:\\\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;32m15/03/2024 12:27:28 am\u001B[0m \u001B[38;5;12m\u2551\u001B[0m \u001B[38;5;0;48;5;120mC:\\\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;32m15/03/2024 11:04:12 pm\u001B[0m \u001B[38;5;12m\u2551\u001B[0m \u001B[38;5;0;48;5;120mC:\\\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\u2550\u2550\u2550\u2569\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u255D\u001B[0m\r\n"]


Original file line number Diff line number Diff line change
@@ -1,21 +0,0 @@
{"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.078, "o", "\u001B[38;5;0;48;5;14m Aqua \u001B[0m "]
[0.078, "o", "\u001B[38;5;14mAqua\u001B[0m\r\n"]
[0.078, "o", "\u001B[38;5;0;48;5;122m Aquamarine1_1 \u001B[0m "]
[0.078, "o", "\u001B[38;5;122mAquamarine1_1\u001B[0m\r\n"]
[0.078, "o", "\u001B[38;5;0;48;5;86m Aquamarine1 \u001B[0m "]
[0.078, "o", "\u001B[38;5;86mAquamarine1\u001B[0m\r\n"]
[0.078, "o", "\u001B[38;5;0;48;5;79m Aquamarine3 \u001B[0m "]
[0.078, "o", "\u001B[38;5;79mAquamarine3\u001B[0m\r\n"]
[0.078, "o", " \r\n"]
[0.078, "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.078, "o", " \r\n"]
[0.094, "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.094, "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.094, "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.094, "o", "\r\nFor more markdown hints see \u001B]8;id=1762541799;https://spectreconsole.net/markup\u001B\\https://spectreconsole.net/markup\u001B]8;;\u001B\\\r\n\r\n"]


Original file line number Diff line number Diff line change
@@ -1,21 +0,0 @@
{"version": 2, "width": 110, "height": 22, "title": "Example 0", "env": {"TERM": "Spectre.Console"}}
[0, "o", " \r\n"]
[0, "o", "\u2500\u2500 \u001B[38;5;12m General\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\r\n"]
[0, "o", " \r\n"]
[0.031, "o", "\uD83E\uDDEE\tabacus\r\n"]
[0.031, "o", "\uD83C\uDD8E\tab_button_blood_type\r\n"]
[0.031, "o", "\uD83C\uDD70\ta_button_blood_type\r\n"]
[0.031, "o", "\uD83E\uDE97\taccordion\r\n"]
[0.031, "o", "\uD83E\uDE79\tadhesive_bandage\r\n"]
[0.031, "o", " \r\n"]
[0.031, "o", " \r\n"]
[0.047, "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.047, "o", " \r\n"]
[0.047, "o", "The emoji can be used in Spectre Console markup like so:\r\n\r\n"]
[0.047, "o", " PS\u003E \u001B[38;5;11mWrite-SpectreHost\u001B[0m \u001B[38;5;39m\u0022I am a :\u001B[0m"]
[0.047, "o", "\u001B[38;5;39mgrinning_face: Spectre markdown emoji string :\u001B[0m"]
[0.047, "o", "\u001B[38;5;39mvictory_hand: !\u0022\u001B[0m\r\n"]
[0.047, "o", " \u001B[38;5;15;48;5;236mI am a \uD83D\uDE00 Spectre markdown emoji string \u270C ! \u001B[0m\r\n"]
[0.047, "o", "\r\nEmoji support is dependent on OS, terminal \u0026 font support. For more markdown hints see \r\n\u001B]8;id=2000223542;https://spectreconsole.net/markup\u001B\\https://spectreconsole.net/markup\u001B]8;;\u001B\\ and for more emoji help see \u001B]8;id=146503703;https://spectreconsole.net/appendix/emojis\u001B\\https://spectreconsole.net/appendix/emojis\u001B]8;;\u001B\\\r\n\r\n"]


Large diffs are not rendered by default.

Loading

0 comments on commit 31c4758

Please sign in to comment.