Jeppe Roi Kristensen
e0ded712e8
Add fix to avoid exception on Rows with no children
2023-06-13 00:36:06 +02:00
Cédric Luthi
d484e832f5
Relax the SDK requirements by rolling forward to the latest feature
...
This was initially introduced in 3c5b98123b4c9cd50a37da25ca9a3fd34ac7f479 by Daniel Cazzulino, then reverted in 82de4a55c48e269225ff2b137850a303b3776879 by Patrick Svensson because of a bug in the .NET 6.0.401 SDK.
2023-06-07 13:41:09 +02:00
fredrikbentzen
71a5d83067
Fixed render issue where writeline inside status caused corrupt output #415 #694
2023-06-04 20:31:12 +02:00
Ignacio Calvo
35ce60b596
Implemented AddAsyncDelegate
( #766 )
2023-05-25 11:31:01 +01:00
Frank Ray
0ec70a44db
Async command unit tests
2023-05-19 17:19:17 +01:00
Patrik Svensson
1ee2653cf8
Merge pull request #1231 from FrankRay78/Blog-post-for-0.47.0
...
Blog post for 0.47.0 (updated)
2023-05-19 18:05:06 +02:00
Frank Ray
4c0178cf9a
Merge branch 'main' into Blog-post-for-0.47.0
2023-05-19 16:50:48 +01:00
Frank Ray
296bc61837
Updated links and github usernames to markdown url format so they render as native html links
2023-05-19 16:48:48 +01:00
Frank Ray
766ccb1f1b
Minor grammatical update
2023-05-19 16:40:57 +02:00
Frank Ray
f7314dc2e8
Blog post for 0.47.0
2023-05-19 16:40:57 +02:00
Frank Ray
f453890d13
Minor grammatical update
2023-05-19 12:26:35 +01:00
Frank Ray
2c8f459806
Blog post for 0.47.0
2023-05-19 12:22:28 +01:00
Elisha Aguilera
018f4ebd17
Minor refactors ( #1081 )
2023-05-14 15:30:27 +01:00
Andrii Rublov
404b052a5f
Add ability to pass example args using params
syntax ( #1166 )
2023-05-12 12:08:42 +01:00
Cédric Luthi
dac2097321
Add support for arrays in [DefaultValue] attributes ( #1164 )
...
Fixes #1163
2023-05-11 14:26:53 +01:00
Cédric Luthi
6acf9b8c63
Add an implicit operator to convert from Color to Style ( #1160 )
2023-05-10 14:20:12 +01:00
Patrik Svensson
3ec0fee795
Merge pull request #1218 from phillip-haydon/patch-1
2023-04-24 08:56:25 +02:00
Phillip Haydon
5843a4545e
Fix coconut spelling
2023-04-24 14:37:06 +08:00
Patrik Svensson
d64d3ec770
Merge pull request #1211 from MaxAtoms/main
2023-04-03 16:32:18 +02:00
Thomas M. Schöller
4dcbd30285
Merge branch 'spectreconsole:main' into main
2023-04-03 12:45:34 +02:00
MaxAtoms
1334319dd1
Add Alacritty as supported Ansi console
2023-04-03 12:42:24 +02:00
Frank Ray
714cf179cb
Command line improvements ( #1103 )
...
Closes #187
Closes #203
Closes #1059
2023-04-02 22:43:21 +02:00
Patrik Svensson
70da3f40ff
Merge pull request #1161 from MartinZikmund/dev/mazi/stringcomparer-confirmation
2023-03-16 09:57:15 +01:00
Martin Zikmund
5075732564
Adjustments based on code review
2023-03-16 09:45:42 +01:00
Gérald Barré
10467a2912
Do not register analyzers if SpectreConsole is not available in the current compilation
2023-03-13 20:07:41 -04:00
Gérald Barré
a7ab1b690e
Use SymbolEqualityComparer.Default when possible
2023-03-13 20:03:12 -04:00
Gérald Barré
142942b8a2
Simplify access to the SemanticModel in analyzers
2023-03-13 19:58:40 -04:00
Gérald Barré
0bab835293
Forward CancellationToken to GetOperation
2023-03-13 19:57:08 -04:00
Patrik Svensson
a6af9a6842
Merge pull request #1183 from Frassle/promptExampleTypo
2023-03-01 18:43:46 +01:00
Cédric Luthi
d3f4f5f208
Add support for converting command parameters into FileInfo and DirectoryInfo ( #1145 )
...
Add support for converting command parameters that doesn't have a built-in TypeConverter but has a constructor that takes a string. For CLI apps, FileInfo and DirectoryInfo will likely be the most useful ones, but there may be others.
2023-03-01 12:02:43 +00:00
Fraser Waters
cbbdb3369c
Fix minor typo in Prompt example
2023-02-26 22:22:31 +00:00
Gérald Barré
6740f0b02b
Add support for static lambda and delegate
2023-02-24 19:04:01 -05:00
Gérald Barré
f7f99ec899
Simplify and make the code fix more robust
2023-02-24 19:04:01 -05:00
Gérald Barré
955fe07bac
Allow to apply code fix in top-level statements
2023-02-24 19:04:01 -05:00
Patrik Svensson
819b948e78
Merge pull request #1174 from meziantou/missing-stringcomparison
2023-02-22 16:03:29 +01:00
Gérald Barré
baa8220a52
Use StringComparison.Ordinal instead of culture-sensitive comparisons
2023-02-20 20:23:06 -05:00
Martin Zikmund
9cd7b24e65
Allow configuration of confirmation prompt comparison via StringComparer
2023-02-11 17:09:16 +01:00
Ilya Hryapko
04610cf492
Alias for command branches ( #411 )
2023-02-09 14:26:06 +00:00
Patrik Svensson
f4183e0462
Merge pull request #1152 from MartinZikmund/dev/mazi/confirmation-insensitive
2023-02-04 20:44:34 +01:00
Martin Zikmund
29846ba505
Ensure correct comparer is used for TextPrompt
2023-02-04 19:56:37 +01:00
Patrik Svensson
92318ce1fb
Merge pull request #1151 from MartinZikmund/dev/mazi/confirmation-insensitive
2023-02-04 13:41:14 +01:00
Martin Zikmund
720db951f3
feat: Allow case-insensitive confirmation prompt
2023-02-04 13:24:11 +01:00
Patrik Svensson
e042fe15e4
Merge pull request #1143 from wbaldoumas/alignment-vs-justification-docs-fixes
2023-01-26 03:38:25 +01:00
Will Baldoumas
62b30d6072
Alignment => Justification Docs Fixes
2023-01-25 17:45:30 -08:00
Patrik Svensson
beca0b2419
Merge pull request #1141 from 0xced/better-conversion-errors
2023-01-24 20:15:02 +01:00
Cédric Luthi
de847b90e4
Improve conversion error messages
...
When a conversion to an enum fails, list all the valid enum values in the error message.
Message before this commit:
> Error: heimday is not a valid value for DayOfWeek.
Message after this commit:
> Error: Failed to convert 'heimday' to DayOfWeek. Valid values are 'Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'
2023-01-24 19:40:11 +01:00
Cédric Luthi
7b9553dd22
Add possibility to set description and/or data for the default command ( #1091 )
2023-01-12 12:12:27 +00:00
Patrik Svensson
f223f6061c
Add blog post for 0.46 release
2023-01-10 04:00:15 +01:00
Patrik Svensson
eba2a8cc76
Add layout documentation
2023-01-10 00:17:11 +01:00
Patrik Svensson
bc6ba26840
Fix title of JSON docs
2023-01-10 00:17:11 +01:00