calacayir

Results 8 comments of calacayir

How about this? Your whole app: ```c# Cli.Ext.ConfigureServices(services => { var loggerFactory = LoggerFactory.Create( builder => builder .AddConsole() .SetMinimumLevel(LogLevel.Information)); services.AddSingleton(loggerFactory); }); return await Cli.RunAsync(args); [CliCommand] public class ThumbnailCommand { private...

See my project here: https://github.com/dotmake-build/command-line DotMake.CommandLine is a library which provides declarative syntax for [System.CommandLine](https://github.com/dotnet/command-line-api) via attributes for easy, fast, strongly-typed (no reflection) usage. The library includes includes a source...

`[suggest] `directive is enabled by default and can be disabled with CliSettings.EnableSuggestDirective. ``` dotnet [suggest] buil ``` ``` build build-server msbuild ``` For completions, we need to add property to...

We already support methods in Delegate Model but not in classes: ```c# using System; using DotMake.CommandLine; Cli.Run(([CliArgument]string arg1, bool opt1) => { Console.WriteLine($@"Value for {nameof(arg1)} parameter is '{arg1}'"); Console.WriteLine($@"Value for...

These error messages come from `System.CommandLine`, maybe we can update them with better messages.

This because `System.CommandLine` itself is case sensitive. You can manually add aliases for this, however we can add all `lowercase` version of the alias automatically (though we can't handle mixed...

I am concerned with this change as well, we depend on public HelpBuilder classes/methods to customize it in this project: https://github.com/dotmake-build/command-line But now we cannot update beyond daily build of...