|
1878 | 1878 | <maml:para>Shows a beautiful ANSI colorscript in your terminal. If no name is specified, displays a random script. Uses intelligent caching for 6-19x faster performance.</maml:para> |
1879 | 1879 | <maml:para>The first time a colorscript is displayed, it executes normally and the output is cached. Subsequent displays use the cached output for near-instant rendering. Cache is automatically invalidated when the source script is modified.</maml:para> |
1880 | 1880 | <maml:para>When multiple scripts match a wildcard pattern, the first match in alphabetical order is displayed. Use `-PassThru` to inspect the selected record when needed.</maml:para> |
| 1881 | + <maml:para>Use `-All` to cycle through all colorscripts in alphabetical order. Combine with `-WaitForInput` to pause between each script and press spacebar to continue.</maml:para> |
1881 | 1882 | </maml:description> |
1882 | 1883 | <command:syntax> |
1883 | 1884 | <command:syntaxItem> |
|
2072 | 2073 | <dev:defaultValue>False</dev:defaultValue> |
2073 | 2074 | </command:parameter> |
2074 | 2075 | </command:syntaxItem> |
| 2076 | + <command:syntaxItem> |
| 2077 | + <maml:name>Show-ColorScript</maml:name> |
| 2078 | + <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> |
| 2079 | + <maml:name>All</maml:name> |
| 2080 | + <maml:description> |
| 2081 | + <maml:para>Cycle through all available colorscripts in alphabetical order. Use with `-WaitForInput` to pause between each script.</maml:para> |
| 2082 | + </maml:description> |
| 2083 | + <dev:type> |
| 2084 | + <maml:name>SwitchParameter</maml:name> |
| 2085 | + <maml:uri /> |
| 2086 | + </dev:type> |
| 2087 | + <dev:defaultValue>False</dev:defaultValue> |
| 2088 | + </command:parameter> |
| 2089 | + <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> |
| 2090 | + <maml:name>WaitForInput</maml:name> |
| 2091 | + <maml:description> |
| 2092 | + <maml:para>When used with `-All`, pause after each colorscript and wait for spacebar to continue. Press 'q' to quit early.</maml:para> |
| 2093 | + </maml:description> |
| 2094 | + <dev:type> |
| 2095 | + <maml:name>SwitchParameter</maml:name> |
| 2096 | + <maml:uri /> |
| 2097 | + </dev:type> |
| 2098 | + <dev:defaultValue>False</dev:defaultValue> |
| 2099 | + </command:parameter> |
| 2100 | + <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> |
| 2101 | + <maml:name>NoCache</maml:name> |
| 2102 | + <maml:description> |
| 2103 | + <maml:para>Bypass cache and execute script directly. Useful for testing or when cache is corrupted.</maml:para> |
| 2104 | + </maml:description> |
| 2105 | + <dev:type> |
| 2106 | + <maml:name>SwitchParameter</maml:name> |
| 2107 | + <maml:uri /> |
| 2108 | + </dev:type> |
| 2109 | + <dev:defaultValue>False</dev:defaultValue> |
| 2110 | + </command:parameter> |
| 2111 | + </command:syntaxItem> |
2075 | 2112 | </command:syntax> |
2076 | 2113 | <command:parameters> |
2077 | 2114 | <command:parameter required="false" variableLength="true" globbing="true" pipelineInput="True (ByValue, ByPropertyName)" position="1" aliases="none"> |
|
2110 | 2147 | </dev:type> |
2111 | 2148 | <dev:defaultValue>False</dev:defaultValue> |
2112 | 2149 | </command:parameter> |
| 2150 | + <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> |
| 2151 | + <maml:name>All</maml:name> |
| 2152 | + <maml:description> |
| 2153 | + <maml:para>Cycle through all available colorscripts in alphabetical order. Use with `-WaitForInput` to pause between each script.</maml:para> |
| 2154 | + </maml:description> |
| 2155 | + <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> |
| 2156 | + <dev:type> |
| 2157 | + <maml:name>SwitchParameter</maml:name> |
| 2158 | + <maml:uri /> |
| 2159 | + </dev:type> |
| 2160 | + <dev:defaultValue>False</dev:defaultValue> |
| 2161 | + </command:parameter> |
| 2162 | + <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> |
| 2163 | + <maml:name>WaitForInput</maml:name> |
| 2164 | + <maml:description> |
| 2165 | + <maml:para>When used with `-All`, pause after each colorscript and wait for spacebar to continue. Press 'q' to quit early.</maml:para> |
| 2166 | + </maml:description> |
| 2167 | + <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> |
| 2168 | + <dev:type> |
| 2169 | + <maml:name>SwitchParameter</maml:name> |
| 2170 | + <maml:uri /> |
| 2171 | + </dev:type> |
| 2172 | + <dev:defaultValue>False</dev:defaultValue> |
| 2173 | + </command:parameter> |
2113 | 2174 | <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> |
2114 | 2175 | <maml:name>NoCache</maml:name> |
2115 | 2176 | <maml:description> |
|
2254 | 2315 | <maml:para>Emit the rendered colorscript as plain text so it can be redirected or saved.</maml:para> |
2255 | 2316 | </dev:remarks> |
2256 | 2317 | </command:example> |
| 2318 | + <command:example> |
| 2319 | + <maml:title>-------------------------- EXAMPLE 9 --------------------------</maml:title> |
| 2320 | + <dev:code>Show-ColorScript -All</dev:code> |
| 2321 | + <dev:remarks> |
| 2322 | + <maml:para>Displays all colorscripts in alphabetical order continuously with a short delay between each.</maml:para> |
| 2323 | + </dev:remarks> |
| 2324 | + </command:example> |
| 2325 | + <command:example> |
| 2326 | + <maml:title>-------------------------- EXAMPLE 10 --------------------------</maml:title> |
| 2327 | + <dev:code>Show-ColorScript -All -WaitForInput</dev:code> |
| 2328 | + <dev:remarks> |
| 2329 | + <maml:para>Displays all colorscripts one at a time, waiting for spacebar press between each. Press 'q' to quit early.</maml:para> |
| 2330 | + </dev:remarks> |
| 2331 | + </command:example> |
| 2332 | + <command:example> |
| 2333 | + <maml:title>-------------------------- EXAMPLE 11 --------------------------</maml:title> |
| 2334 | + <dev:code>Show-ColorScript -All -Category Nature -WaitForInput</dev:code> |
| 2335 | + <dev:remarks> |
| 2336 | + <maml:para>Cycles through all nature-themed colorscripts with manual progression using spacebar.</maml:para> |
| 2337 | + </dev:remarks> |
| 2338 | + </command:example> |
2257 | 2339 | </command:examples> |
2258 | 2340 | <command:relatedLinks> |
2259 | 2341 | <maml:navigationLink> |
|
0 commit comments