Commit Graph

141 Commits

Author SHA1 Message Date
48df9cf68b (#555) added TypeRegistrarBaseTests
as a very simple test harness to test implementations of
ITypeRegistrar / ITypeResolver
2021-11-14 01:19:27 +01:00
21ac952307 Remove Render from docs in favor of Write (#613)
The `Render` method has been obsoleted.
2021-11-09 21:22:18 +01:00
b3ef7d4fa6 fixed documentation for selection and multiselection (#499) 2021-10-30 01:50:18 +02:00
c5c1852fc3 (#606) added ExceptionHandler to ICommandAppSettings
So exceptions can be handled in Spectre.Console.Cli.
Also, some documentation was added.
2021-10-30 01:41:29 +02:00
a4ae36738b typos 2021-10-23 16:05:56 -04:00
174d285035 Update sponsors.md
Fixing a typo in October. I should be ashamed :)
2021-10-10 09:40:09 +02:00
644fb76d61 Fix a typo for Spectre1021 2021-09-27 20:50:51 -04:00
64f444114a Fix typos 2021-09-23 19:08:03 -04:00
c3510f3036 fixed 404 in documentation
links were pointing to ./commandApp, however
the generated page is ./commandapp
2021-09-08 12:02:01 +02:00
57731c0d55 Add release notes for version 0.41 2021-07-19 23:12:38 +02:00
223642b797 Add blog to docs (#484)
* Adding social card infrastructure
* Upgrades doc project to .NET 6
* Adds Playwright
* Changes the console to a web project for Playwright
* Adds social card template
* Added blog content
* Parallelized social image processing
* Updating CI to use .NET 6 for docs build
2021-07-15 19:53:01 +02:00
32d7ea15bd Change LogCommandSettings to CommandSettings in example
Instead of `LogCommandSettings` for the `Settings` of the `HelloCommand`
2021-07-15 09:39:25 +02:00
fa553fd72e Adds documentation for analyzers 2021-06-25 09:56:20 +02:00
5cbe9d40b0 Removed extra line from example code. 2021-06-19 02:38:01 +02:00
ebd7bb5949 Update canvas.md 2021-06-09 23:43:55 +02:00
21f731ebd5 Using Statiq processes for tailwind commands
Tweaks tailwind to use jit mode and misc content tweaks


Changes point in which tailwind is built
2021-05-28 14:31:57 +02:00
397860e42e Revert PR #436
Using Statiq processes for tailwind commands

This reverts commit adb600c430.
This reverts commit ab83e41051.
2021-05-26 13:41:49 +02:00
adb600c430 Tweaks tailwind to use jit mode and misc content tweaks 2021-05-26 10:31:15 +02:00
0d2a75aeee Add Cascadia Code as a webfont for fallback
This is only for Android (hopefully) which has a system font that doesn't have standard width box drawing characters. 

Other systems should still use their defaults.
2021-05-24 15:42:12 +02:00
cb8dc97847 Removes inline-block from console output in docs
This was causing the output to wrap in chrome on ipad and only the ipad. Not quite sure why it was needed in the first place so it's gone.
2021-05-24 09:44:27 +02:00
450d87f5d3 Add support for fake input in asciicast recordings
* Fixes a bug with `SelectionPrompt` and page size.
* Allow `IAnsiConsoleInput` to return `null`.
2021-05-23 22:22:44 -04:00
46abadaccb Add AsciiCast demos for docs 2021-05-23 23:30:14 +02:00
3dea412785 Add live display support
This commit also adds functionality to LiveRenderable that should
fix some problems related to vertical overflow.

Closes #316
Closes #415
2021-05-20 19:41:10 -04:00
5d68020abb Wrong method in code example
Wrong method called in the documentation for the Calendar widget.
2021-05-19 13:46:39 +02:00
e48ae9600a Revert shrinking of example.png 2021-04-29 17:17:02 -05:00
9a68b27b31 Shrinks PNGs and converts large gif to webm
PNGs were ran through TinyPng. Table.gif was weighing in at over 1.7mb
on my machine. Converted to webm and it's down to 80kb which is pretty
nice for something on the home page. Other gifs didn't have that much of
an improvement so I just left them as GIFs.
2021-04-25 02:52:36 +02:00
2a9fbb1ee9 New doc theme (#387) 2021-04-24 22:20:59 +02:00
b568098d5e Fix required vs optional argument denotation 2021-04-23 23:34:33 -04:00
79af013bf2 Expanding CLI docs
Adding new pages for commandApp, commands and settings.
2021-04-21 17:51:59 +02:00
23564612c1 Make AsyncCommand a little more discoverable (#375) 2021-04-18 09:35:37 +02:00
a2ab522516 Add CNAME 2021-04-05 17:45:29 +02:00
693e1fa170 Update links, references and copyright 2021-04-05 16:59:09 +02:00
MB
6121203fee Rename tree to root so the example compiles.
The 'root' variable does not exist in current context. Either should call Render(tree) or have it renamed to root. I've chosen root as it's more consistent with the examples later on.
2021-04-02 23:32:15 +02:00
7f6f2437b1 Add support for exclusive mode 2021-03-15 13:14:40 -04:00
c2bab0ebf8 Allow custom instructions for prompts
Closes #229
2021-03-14 21:27:44 -04:00
8c099a0038 Add Elmah.io as sponsor 2021-03-14 21:17:56 -04:00
stf
fa731070d8 update the docs
To improve discoveratbility of the new option
2021-03-04 07:47:00 -05:00
17ee8990f4 Update example image 2021-02-15 13:01:30 +01:00
fd217ffc83 Update sponsor text 2021-02-11 23:22:43 +01:00
95ec04df40 Add sponsor information 2021-02-11 23:20:11 +01:00
35568ab823 Updated Commands with with new Execute() method signature 2021-01-13 19:48:15 +01:00
d87d8e4422 Update exceptions.md 2021-01-10 20:45:44 +01:00
8261b25e5c Fix tree rendering
Fixes some tree rendering problems where lines were not properly drawn
at some levels during some circumstances.

* Change the API back to only allow one root.
* Now uses a stack based approach to rendering instead of recursion.
* Removes the need for measuring the whole tree in advance.
  Leave this up to each child to render.
2021-01-10 15:55:11 +01:00
0e0f4b4220 Add interactive prompts for selecting values
* Adds SelectionPrompt
* Adds MultiSelectionPrompt

Closes #210
2021-01-09 09:37:28 +01:00
4e2251fd62 Add migration guide for Spectre.Cli 2020-12-29 10:29:26 +01:00
0ae419326d Add Spectre.Cli to Spectre.Console
* Renames Spectre.Cli to Spectre.Console.Cli.
* Now uses Verify with Spectre.Console.Cli tests.
* Removes some duplicate definitions.

Closes #168
2020-12-28 17:28:03 +01:00
7dccb310f3 Add support for bar charts
Closes #103
2020-12-23 10:05:08 +01:00
501db5d287 Add status support 2020-12-09 00:07:02 +01:00
ae32785f21 Add progress task list support 2020-12-04 07:29:48 +01:00
b7cd7dd53e Fix grammar in Canvas Image docs 2020-11-25 13:52:17 +01:00