Commit Graph

  • 37a04f3a74 * Support command description localization eg. [CommandOption("-a|--args")] [Description(nameof(Str.GitArgs))] [Localization(typeof(Str))] public string Args { get; set; } main tk 2025-05-21 11:17:41 +08:00
  • f32f80dc57 Fix resizing of Live views with reduced size. (#1840) Daniel 2025-06-21 12:30:18 +02:00
  • 7f3ebe02c4 Reduce memory usage for rune width cache. (#1756) Pannoniae 2025-06-20 11:49:45 +01:00
  • d77bfb6391 chore: Update dependency AngleSharp to 1.3.0 (#1809) renovate[bot] 2025-06-18 18:05:15 +02:00
  • 7819f0693d chore: Update dependency SixLabors.ImageSharp to 3.1.10 (#1812) renovate[bot] 2025-06-18 18:01:14 +02:00
  • 465be9391b chore: Update dependency Microsoft.Playwright to 1.52.0 (#1816) renovate[bot] 2025-06-18 18:00:41 +02:00
  • 7e5ddb1efe chore: Update dependency Verify.Xunit to v30 (#1818) renovate[bot] 2025-06-18 17:57:36 +02:00
  • aabe8eeaf8 chore: Update dependency Scriban to 6.2.1 (#1808) renovate[bot] 2025-06-18 17:56:33 +02:00
  • 108b23fca8 chore: Update dependency xunit.runner.visualstudio to 3.1.1 (#1820) renovate[bot] 2025-06-18 17:55:15 +02:00
  • 7051bc9e2d chore: Update dependency Microsoft.NET.Test.Sdk to 17.14.1 (#1822) renovate[bot] 2025-06-18 17:52:31 +02:00
  • 65bab890f2 Update System.Memory dependency Weihan Li 2025-06-05 13:34:34 +08:00
  • bd0e2d3e22 Fixed link not dispalyed in markup in Style.cs and added unit test cases (#1750) Elementttto 2025-06-02 13:49:53 +05:30
  • 9efc426eb9 Added documentation for align widget Elemento 2025-01-26 13:28:06 +05:30
  • 2570202990 Fix build errors Patrik Svensson 2025-05-25 00:56:19 +02:00
  • e4b5b56d93 Update help output for required options Patrik Svensson 2025-05-25 00:48:09 +02:00
  • 67c3909bbb Add support for required options Patrik Svensson 2025-05-25 00:38:43 +02:00
  • d836ad1805 Add ShowRowSeparators in Table Widget docs (#1807) Bartosz Ogiński 2025-04-14 18:34:09 +02:00
  • 57dd8ee410 #1718 TestConsole can now be configured and accessed in CommandAppTester (#1803) Marek 2025-04-14 10:38:03 +02:00
  • 6105ee2a86 Fix IndexOutOfRangeException martincostello 2025-04-09 11:32:16 +01:00
  • b5c839030c Blog post: Fix broken PR links Patrik Svensson 2025-04-08 20:45:50 +02:00
  • b08ca1c4d7 Add blog post Patrik Svensson 2025-04-08 18:29:25 +02:00
  • 68fcfe0de4 Update dependencies and .NET SDK Patrik Svensson 2025-04-08 17:17:17 +02:00
  • b0f82d787d Documentation improvements for 1.0 release (#1620) Frank Ray 2025-04-08 16:01:17 +01:00
  • 1dabf25e1c Add testing documentation (#1631) Frank Ray 2025-04-08 15:58:25 +01:00
  • 958820dd66 Tighten up when to show/hide the application "-v|--version" option. Frank Ray 2024-10-15 14:07:10 +01:00
  • c4a97f3c89 Improved unit test coverage using Spectre.Console.Tests.Data.VersionCommand Frank Ray 2024-10-09 11:45:09 +01:00
  • 4ac88b5d3f Help writer unit tests; including coverage of when the -v|--version should (and shouldn't) appear in the help output Frank Ray 2024-10-09 11:32:26 +01:00
  • c937c8800a Updated test names for better self-documentation Frank Ray 2024-10-14 11:37:32 +01:00
  • 349eac1e22 Bug fix: Tests with remaining args should not be expected to pass strict parsing Frank Ray 2024-10-11 17:41:19 +01:00
  • 2f8a38f169 Add strict parsing to all version tests, an obvious omission in main Frank Ray 2024-10-11 17:27:35 +01:00
  • e9f9f56189 Check if the command has a version option on its setting class Frank Ray 2024-10-11 17:10:53 +01:00
  • cefb51df7b Unit tests to ensure VersionCommand executes when -v|--version is specified, rather than showing the ApplicationVersion number Frank Ray 2024-10-11 17:07:55 +01:00
  • 75b3b83210 Removed unnecessary using directive Frank Ray 2024-10-09 10:56:44 +01:00
  • dfdd129dd0 Display the application version (if set) when a version flag is the first argument, even if a default command has been set. Frank Ray 2024-10-09 10:22:38 +01:00
  • 17c7a4f7d6 Cover -v and --version options in unit tests Frank Ray 2024-10-09 10:20:11 +01:00
  • 520efe07e2 Significant improvement to the command line parsing Frank Ray 2024-10-04 17:01:34 +01:00
  • c81bc5fe1d Fix tests with incorrect validation that were in the main branch Frank Ray 2024-10-04 16:53:06 +01:00
  • edf7f23957 Add strict parsing to almost all branches tests, an obvious omission Frank Ray 2024-10-04 15:53:24 +01:00
  • 80a8b0e406 Cosmetic: Remove ugly looking variable naming Frank Ray 2024-10-04 15:41:29 +01:00
  • dca67da8cd New unit tests to ensure unknown flags are added to remaining args Frank Ray 2024-10-04 15:39:43 +01:00
  • 78272e62e6 Merge pull request #1779 from Moustafaa91/bug/1776 Patrik Svensson 2025-03-24 00:05:14 +01:00
  • 540fb0195f Upgrade SixLabors.ImageSharp to 3.1.7 Mostafa Attia 2025-03-23 13:44:18 +00:00
  • 93668e92b6 Changed IConfigurator to return IConfigurator instead of void for (#1762) Melvin Dommer 2025-02-24 14:57:23 -06:00
  • 11a320c7c9 Conditionally trim trailing periods of argument and option descriptions (#1740) Tonttu 2025-02-11 23:13:30 +02:00
  • c1eb94c1db Merge pull request #1755 from 0xced/fix-generic-exception-formatting Patrik Svensson 2025-02-05 18:39:38 +01:00
  • 9d8d3c1d6d Fix generic exception formatting with shortened types Cédric Luthi 2025-02-05 15:30:47 +01:00
  • 7e1142df58 Add tests for generic exception formatting Cédric Luthi 2025-02-05 18:20:12 +01:00
  • a6b96e9297 Include resource files for additional cultures in HelpProvider. (#1717) Eduardo Tolino 2025-01-31 18:23:40 -03:00
  • f1f633cc72 Merge pull request #1747 from phil-scott-78/spinner-extension Patrik Svensson 2025-01-28 18:41:34 +01:00
  • 05ce33615e Add async spinner extension methods and related documentation Phil Scott 2025-01-28 10:20:24 -05:00
  • 97715f2553 Merge pull request #1743 from spectreconsole/FrankRay78-disable-blank-issue Patrik Svensson 2025-01-25 20:20:59 +01:00
  • 039553efbb Disable the GitHub 'Blank issue' option offered to users Frank Ray 2025-01-25 18:30:02 +00:00
  • f704f2a0e8 Merge pull request #1739 from FrankRay78/1738-CommandAppTester-is-trimming-TestConsole-output Patrik Svensson 2025-01-21 10:33:25 +01:00
  • 8c5264d117 Trimming of TestConsole output by CommandAppTester is configurable Frank Ray 2025-01-21 08:37:54 +00:00
  • 58bf89a56a Implement 3 digit hex parsing (#1708) Martijn Straathof 2024-12-04 16:31:21 +01:00
  • 29ab313bb9 Async overloads for AnsiConsole Prompt/Ask/Confirm. (#1194) Tom Deseyn 2024-11-28 11:56:19 +01:00
  • 92daeb739d Update Docs SDK version to 9.0.100, disable NuGetAudit temporarily, and upgrade Scriban to version 5.12.0 for generator Phil Scott 2024-11-23 10:51:21 -05:00
  • 43e9669395 Update documentation packages to latest versions Phil Scott 2024-11-22 22:02:09 -05:00
  • ab8384acf6 Update PolySharp to version 1.15.0 and remove Nullable package references Phil Scott 2024-11-22 22:26:31 -05:00
  • b2689be3ed Enhance ExceptionFormatter for AOT compatibility by adding fallback handling for stack frames. Phil Scott 2024-11-21 22:14:20 -05:00
  • 835143d95f Add Native AOT support documentation and update project files for AOT compatibility Phil Scott 2024-11-21 22:14:03 -05:00
  • 8f2a859087 Fallback to using GetConverter if GetIntrinsicConverter doesn't find one. Phil Scott 2024-11-20 10:48:19 -05:00
  • 2be8e8da4e Adds fallback for ExceptionFormatter in AOT Phil Scott 2024-11-20 10:37:30 -05:00
  • 2a8810affd Explicitly marks Spectre.Console.Cli as not trimmable and not appropriate for AOT scenarios. Additionally adds a warning to CommandApp for users who may try it. Phil Scott 2024-11-20 09:50:22 -05:00
  • e1d21e7e61 Adding polysharp properly Phil Scott 2024-11-20 08:49:40 -05:00
  • c7c3ebdf57 Fix assembly name retrieval for FSharp.Core in TypeNameHelper to work better in AOT scenarios Phil Scott 2024-11-19 23:16:29 -05:00
  • b67af32423 Add RequiresDynamicCode attribute to exception formatter to indicate incompatability with AOT Phil Scott 2024-11-19 23:16:09 -05:00
  • 10773a5625 Refactor enum value retrieval to use EnumUtils for better compatibility with NetStandard 2.0 and AOT Phil Scott 2024-11-19 23:15:35 -05:00
  • 4802751357 Add AOT compatibility and PolySharp package support Phil Scott 2024-11-19 23:14:48 -05:00
  • 4515d89705 ProgressTask.GetPercentage() returns 100 when max value is 0 (#1694) Frank Ray 2024-11-22 11:44:00 +00:00
  • be45494d6e Merge pull request #1691 from phil-scott-78/emoji-perf Patrik Svensson 2024-11-21 00:30:24 +01:00
  • 69689d2ba1 Changes Emoji dictionary to OrdinalIgnoreCase for performance Phil Scott 2024-11-20 17:55:33 -05:00
  • aa9e5c48c6 Adding TransferSpeedColumn configuration to display bits/bytes + binary/decimal prefixes (#904) Tim Pilius 2024-11-19 10:41:49 -05:00
  • 8d06daf355 Fixed typo in Segment description (#1687) PascalSenn 2024-11-19 06:09:22 +01:00
  • cecfdc386c Fix typos (#1684) Mattias Karlsson 2024-11-13 15:00:21 +01:00
  • 375a708c43 Add net9.0 support, remove legacy TFM:s (#1682) Patrik Svensson 2024-11-13 14:54:01 +01:00
  • 574ead6d46 Added hex color conversion (#1432) Jonathan Sheely 2024-11-13 07:35:26 -05:00
  • a87277e859 Adding Enricher for Azure Pipelines (#1675) BlazeFace 2024-11-04 07:30:35 -08:00
  • fdc03f2081 Merge pull request #1514 from BlazeFace/blz/issues/1390 Patrik Svensson 2024-10-30 01:36:05 +01:00
  • 3eb620a44e Fix typo BlazeFace 2024-10-26 07:27:31 -07:00
  • bc88da8056 Added last file and used fluent style, relocated test BlazeFace 2024-10-26 07:25:38 -07:00
  • 00b9aecb4f Add new test files BlazeFace 2024-10-26 07:18:52 -07:00
  • 444dbed259 Merge remote-tracking branch 'upstream/main' into blz/issues/1390 BlazeFace 2024-10-25 17:47:02 -07:00
  • a32dc8030b Fixed docs examples URLs redirecting to the examples repository Arman Ossi Loko 2024-10-17 23:38:15 +02:00
  • 75547b2436 chore: Update dependency Verify.Xunit to 26.4.5 renovate[bot] 2024-09-14 12:36:56 +00:00
  • 22d1cbe01f chore: Update dependency Roslynator.Analyzers to 4.12.5 renovate[bot] 2024-09-14 12:16:01 +00:00
  • 7f8ed509bb Fix strange sentence in docs Patrik Svensson 2024-09-14 12:59:19 +02:00
  • c70a8b8fc5 Improve exception if a (multi)selection prompt is used incorrectly Cédric Luthi 2024-09-10 14:01:32 +02:00
  • b470af11f7 chore: Update dependency Microsoft.NET.Test.Sdk to 17.11.1 (#1630) renovate[bot] 2024-09-11 09:00:27 +02:00
  • 23b160a3f5 chore: Update dependency Verify.Xunit to 26.4.4 (#1624) renovate[bot] 2024-09-11 08:57:27 +02:00
  • 1345a6347a chore: Update dependency MinVer to v6 (#1629) renovate[bot] 2024-09-11 08:52:25 +02:00
  • 78f3f80b17 Update documentation: add example for the Text Prompt usage (#1636) Davide Piccinini 2024-09-10 09:03:20 +02:00
  • a55b80220d Enhance the style of the checkboxes for multi-selection (#1244) Davide Piccinini 2024-09-09 16:35:01 +02:00
  • f8a4b2271d Add unit test to ensure code coverage Davide Piccinini 2023-06-29 21:32:58 +02:00
  • dba7ad0875 Fix SA1513 line 38 Tree.cs Davide Piccinini 2023-06-21 22:08:01 +02:00
  • 322ed2efbb Fix error SA1300 in full property creation Davide Piccinini 2023-06-21 21:43:21 +02:00
  • 156d254208 Fix issue 1153 on expanded tree Davide Piccinini 2023-06-21 21:00:53 +02:00
  • 3437130bf0 Removed blank line d.piccinini 2023-06-22 12:14:40 +02:00
  • 32384f7b8d Add custom highligh style for single calendar event d.piccinini 2023-06-22 12:12:43 +02:00
  • 32361d3f15 Cleanup prompt tests (#1635) Cédric Luthi 2024-09-07 16:19:55 +02:00