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