Nils Andresen
bbf58ee814
( #1188 ) Rows measure greedy
2023-10-19 07:46:12 +02:00
Nils Andresen
343b98944d
added a minimal PR template
2023-09-27 08:28:08 +02:00
Nils Andresen
bef21e8a21
( #684 ) Enable setting the color of the values in a BreakdownChart
2023-09-15 20:12:06 +02:00
Nils Andresen and GitHub
f7befacd79
( #644 ) Specified settings for the argument vector ( #1301 )
2023-09-13 09:06:25 +02:00
Nils Andresen and GitHub
9c86391fb6
( #1297 ) change all SetErrorHandler to SetExceptionHandler ( #1298 )
2023-09-12 13:57:02 +02:00
Nils Andresen and GitHub
a3dcb31729
Update ColumnsSample to showcase nicer data ( #1295 )
...
Also, I switched the base width of the AsciiCast back
to 82 (from 120) so newly created casts are no longer
overflowing the display with on the pages.
Re-created the Panel and BreakdownChart casts, as
they were currently overflowing due to the 120 chars
width of the cast.
2023-09-12 12:58:18 +02:00
Nils Andresen
c64797d681
( #1279 ) added the missing columns-cast
2023-09-11 23:26:54 +02:00
Nils Andresen and Patrik Svensson
f895bb175d
modified tokenizer to not break on on ]]] at the end of a style
2022-12-01 22:32:32 +01:00
Nils Andresen and Patrik Svensson
2bd1383cbe
Fixed punctuation
2022-08-29 08:54:30 +02:00
Nils Andresen and Patrik Svensson
00a9ba325e
restructured MarkupTokenizer a bit.
2022-08-29 08:54:30 +02:00
Nils Andresen and Patrik Svensson
540bc1307c
fixed warning
2022-08-29 08:54:30 +02:00
Nils Andresen and Patrik Svensson
a6618f762c
Modified MarkupTokenizer
...
So escaped markup in markup is valid.
2022-08-29 08:54:30 +02:00
Nils Andresen and Patrik Svensson
638149f44b
fixed punctuation in exception
2022-08-29 08:54:30 +02:00
Nils Andresen and Patrik Svensson
0d72b94f9c
added some breaking unit tests
2022-08-29 08:54:30 +02:00
Nils Andresen and Patrik Svensson
0d19ccd8a6
( #916 ) fixed missing call to Validate when using CommandConstructorBinder
2022-08-18 12:03:11 +02:00
Nils Andresen and Patrik Svensson
d94dc2fcb2
fixed build error
...
error NU1504: Duplicate 'PackageReference' items
found. Remove the duplicate items or use the Update
functionality to ensure a consistent restore behavior. The duplicate
'PackageReference' items are: System.Memory 4.5.5, System.Memory 4.5.5.
2022-08-17 16:03:44 +02:00
Nils Andresen and Patrik Svensson
9d985f0f0a
( #922 ) fixed ArgumentNullException on .NET Framework
...
It seems, when Spectre.Console is compiled for
netstandard2.0, StackTrace.GetFrames() returns null
instead of an empty array.
2022-08-17 16:03:44 +02:00
Nils Andresen and Patrik Svensson
25a61bea91
Renovate: Ignore all updates to resources/scripts
...
those are used only during development, hence there
is no need to auto-update them.
2022-04-07 10:27:02 +02:00
Nils Andresen and Patrik Svensson
9a6d8d92b4
( #674 ) changed TypeResolver in Cli/logging
...
to adhere to the specifications set in #620
2022-01-02 10:26:04 +01:00
Nils Andresen and Patrik Svensson
55633b59fa
( #645 ) Ordered CommandArguments by position
...
in CommandModelValidator
2021-12-02 11:15:25 +01:00
Nils Andresen and Patrik Svensson
48df9cf68b
( #555 ) added TypeRegistrarBaseTests
...
as a very simple test harness to test implementations of
ITypeRegistrar / ITypeResolver
2021-11-14 01:19:27 +01:00
Nils Andresen and Patrik Svensson
2f6b4f53c4
( #555 ) Clarify ITypeResolver returns null
...
and does not throw on unresolvable types.
Also changed the TypeResolverAdapter to adhere
to those expectations and removed the now no longer
needed try-catch from CommandPropertyBinder.
2021-11-14 01:19:27 +01:00
Nils Andresen and Patrik Svensson
ba4b7b97f8
Escape any Markup when displaying selected prompt items
...
If the item contained escaped markup, after the call to RemoveMarkup
the string will contain unescaped markup (that the user explicitly had
escaped before) for those cases we need to escape all remaining markup.
2021-11-02 22:56:54 +01:00
Nils Andresen and Patrik Svensson
b3ef7d4fa6
fixed documentation for selection and multiselection ( #499 )
2021-10-30 01:50:18 +02:00
Nils Andresen and Patrik Svensson
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
Nils Andresen and Patrik Svensson
045d0922c8
fixed spelling in Exception
2021-10-30 00:05:16 +02:00
Nils Andresen and Patrik Svensson
949f35defd
( #502 ) Added GetParent and GetParents to MultiSelectionPrompt
...
So it it possible to find the parent(s) of a given item.
2021-10-30 00:05:16 +02:00
Nils Andresen and Patrik Svensson
49e8a980a7
Removed the additional registration of ICommand
2021-09-18 23:19:34 +02:00
Nils Andresen and Patrik Svensson
c3510f3036
fixed 404 in documentation
...
links were pointing to ./commandApp, however
the generated page is ./commandapp
2021-09-08 12:02:01 +02:00
Nils Andresen and GitHub
32d7ea15bd
Change LogCommandSettings to CommandSettings in example
...
Instead of `LogCommandSettings` for the `Settings` of the `HelloCommand`
2021-07-15 09:39:25 +02:00
Nils Andresen and Patrik Svensson
6b5b31957c
Added a TypeRegistrar to CommandAppTester
...
exposed as a public property.
For convenience, and to keep the similarity to the real CommandApp
it is also available in the ctor of CommandAppTester.
2021-06-24 01:42:29 +02:00
Nils Andresen and Patrik Svensson
b92827ce3d
( #460 ) added an overload to AnsiConsole.Ask
...
that takes an additional default value.
2021-06-23 23:47:12 +02:00