Commit Graph
27 Commits
Author SHA1 Message Date
Frank RayandPatrik Svensson c81bc5fe1d Fix tests with incorrect validation that were in the main branch
Tests had incorrect expectations for the parsing of branch + default command arguments
2025-04-08 16:38:37 +02:00
Frank RayandPatrik Svensson edf7f23957 Add strict parsing to almost all branches tests, an obvious omission 2025-04-08 16:38:37 +02:00
Frank RayandPatrik Svensson 80a8b0e406 Cosmetic: Remove ugly looking variable naming 2025-04-08 16:38:37 +02:00
Frank RayandPatrik Svensson dca67da8cd New unit tests to ensure unknown flags are added to remaining args 2025-04-08 16:38:37 +02:00
Frank RayandGitHub 039553efbb Disable the GitHub 'Blank issue' option offered to users 2025-01-25 18:30:02 +00:00
Frank Ray 8c5264d117 Trimming of TestConsole output by CommandAppTester is configurable 2025-01-21 08:39:31 +00:00
Frank RayandGitHub 4515d89705 ProgressTask.GetPercentage() returns 100 when max value is 0 (#1694) 2024-11-22 12:44:00 +01:00
Frank RayandGitHub ecdfdd4b85 Please upvote 👍 if you are interested in it (#1491) 2024-04-16 08:43:29 +01:00
Frank RayandGitHub a893a9601e Top Issues GitHub Action (#1488) 2024-04-14 12:47:55 +01:00
Frank RayandPatrik Svensson 43f9ae92ad Pipe character for listing options - Fully implemented and tested. 2024-03-18 16:31:55 +01:00
Frank RayandGitHub 9cc888e5ad Make HelpProvider colors configurable (#1408) 2024-01-18 15:31:28 +01:00
Frank RayandPatrik Svensson d5b4621233 Fully addresses review comments 2024-01-15 19:22:34 +01:00
Frank RayandPatrik Svensson cee97821d6 Fix stylecop warning 2024-01-15 19:22:34 +01:00
Frank RayandPatrik Svensson 55c763a5c2 Completed 2024-01-15 19:22:34 +01:00
Frank RayandPatrik Svensson d03c10623c Unit test to reproduce the -v/--version bug 2024-01-15 19:22:34 +01:00
Frank RayandGitHub 250b1f4c9c Add localization support to help provider (#1349)
Closes #1349
2023-11-11 00:22:52 +01:00
Frank RayandGitHub 131b37fff8 Allow custom help providers (#1259)
Allow custom help providers

* Version option will show in help even with a default command

* Reserve `-v` and `--version` as special Spectre.Console command line arguments (nb. breaking change for Spectre.Console users who have a default command with a settings class that uses either of these switches).

* Help writer correctly determines if trailing commands exist and whether to display them as optional or mandatory in the usage statement.

* Ability to control the number of indirect commands to display in the help text when the command itself doesn't have any examples of its own. Defaults to 5 (for backward compatibility) but can be set to any integer or zero to disable completely.

* Significant increase in unit test coverage for the help writer.

* Minor grammatical improvements to website documentation.
2023-09-08 09:51:33 +02:00
Frank RayandGitHub 0ec70a44db Async command unit tests 2023-05-19 17:19:17 +01:00
Frank RayandGitHub 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 RayandPatrik Svensson 766ccb1f1b Minor grammatical update 2023-05-19 16:40:57 +02:00
Frank RayandPatrik Svensson 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
Frank RayandGitHub 714cf179cb Command line improvements (#1103)
Closes #187
Closes #203
Closes #1059
2023-04-02 22:43:21 +02:00
Frank RayandGitHub b793482ebb Command line argument parsing improvements (#1048)
* Support negative numbers as command option values
* Support command line options before arguments
* POSIX-compliant handling of quotes (double and single, terminated and unterminated), whitespace, hyphens, and special characters (e.g. emojis)
2022-12-05 01:07:53 +01:00
Frank RayandGitHub c1e9c1a99f Clarified the license for SixLabors.ImageSharp (#1073)
* Clarified the license for SixLabors.ImageSharp

* Updated after review by @JimBobSquarePants
2022-11-17 15:21:01 +01:00