oakton
oakton copied to clipboard
Parsing and Utilities for Command Line Tools in .Net
When using Oakton my team would like to handle exceptions for all commands in Program.cs. Right now exceptions are swallowed here: ``` catch (Exception ex) { AnsiConsole.Write("[red]ERROR:[/]"); AnsiConsole.WriteException(ex); return 1;...
Show summary at the bottom
Add this for .NET 8: https://learn.microsoft.com/en-us/dotnet/api/microsoft.extensions.diagnostics.healthchecks.ihealthcheck?view=dotnet-plat-ext-8.0
The license link presented at nuget.org is broken.
I really like the stateful resource feature, but what would be really nice is to have the ability to allow one stateful resource to only run after another had successfully...
When using the custom command pattern, as described here: https://jasperfx.github.io/oakton/guide/bootstrapping.html#custom-command-creators The functionality as described in the "Improved Run Command" described here: https://jasperfx.github.io/oakton/guide/host/run.html#improved-run-command does not work. Instead of being able to...
Bumps [minimatch](https://github.com/isaacs/minimatch) from 3.0.4 to 3.1.2. Commits 699c459 3.1.2 2f2b5ff fix: trim pattern 25d7c0d 3.1.1 55dda29 fix: treat nocase:true as always having magic 5e1fb8d 3.1.0 f8145c5 Add 'allowWindowsEscape' option 570e8b1...
Bumps [System.Data.SqlClient](https://github.com/dotnet/corefx) from 4.7.0 to 4.8.5. Release notes Sourced from System.Data.SqlClient's releases. .NET Core 2.1.0 RC1 Release Notes Known Issues Download and Install Repos CoreCLR CoreFX Core-Setup CLI Commits See...
## Symptom Running a command like `dotnet run -- db-patch file.sql --environment Staging` results in the following error: ## Context I tried to set up my .NET 6 web application...
If we take the example as below, both properties start with `S` and no custom flag alias are defined. For this case, `s` is being generated as the short flag...