oakton
oakton copied to clipboard
Parsing and Utilities for Command Line Tools in .Net
Generated help for dictionaries is wrong, as it includes 4 dashes (`----`) instead of 2 ```csharp public class RunInput { [Description("The connection string", Name = "connection-string")] public string ConnectionString {...
Bumps [shell-quote](https://github.com/substack/node-shell-quote) from 1.7.2 to 1.7.3. Changelog Sourced from shell-quote's changelog. 1.7.3 Fix a security issue where the regex for windows drive letters allowed some shell meta-characters to escape the...
Bumps [prismjs](https://github.com/PrismJS/prism) from 1.25.0 to 1.27.0. Release notes Sourced from prismjs's releases. v1.27.0 Release 1.27.0 v1.26.0 Release 1.26.0 Changelog Sourced from prismjs's changelog. 1.27.0 (2022-02-17) New components UO Razor Script...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Logging; using Oakton; using Serilog; using Serilog.Events; namespace LegacyEnterpriseSync { public class Program { public...
Adds support for types with a `TypeConverter` specified on them to be used in the input models. Requires package reference to `System.ComponentModel.TypeConverter` for `netstandard1.3`. I wasn't sure if this should...
### Oakton version: 4.6.1 ## Error can be reproduced by below code and appsettings.json. ### C# code: ``` csharp using Oakton; var builder = WebApplication.CreateBuilder(args); builder.Host.ApplyOaktonExtensions(); var app = builder.Build();...
fix: avoid throwing exception from ConfigurationPreview when configuration value contains "[" (bracket)
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 2.7.2 to 2.9.15. Release notes Sourced from vite's releases. [email protected] Please refer to CHANGELOG.md for details. [email protected] Please refer to CHANGELOG.md for details. [email protected] Please refer to...
Allow specifying an optional custom command creator when using the IHost & IHostBuilder extension methods.
Using .NET 8 and registered keyed services. Also using Lamar, Wolverine, Marten. ``` System.InvalidOperationException HResult=0x80131509 Message=This service descriptor is keyed. Your service provider may not support keyed services. Source=Microsoft.Extensions.DependencyInjection.Abstractions StackTrace:...