Minor refactoring, add enumeration of storage container by folder, by container, or by entire account

This commit is contained in:
Yaakov 2021-09-26 00:33:10 +10:00
parent a4f9f13780
commit 4743b1a74c
4 changed files with 123 additions and 43 deletions

View file

@ -10,7 +10,13 @@ namespace Shamir.Console
public static async Task<int> Main(string[] args)
{
await using var serviceProvider = new ServiceCollection()
.AddTransient<Parser>(sp => new Parser(with => with.EnableDashDash = true))
.AddTransient<Parser>(sp => new Parser(with =>
{
with.AutoHelp = true;
with.AutoVersion = true;
with.EnableDashDash = true;
with.IgnoreUnknownArguments = false;
}))
.BuildServiceProvider();
var tree = new DefaultCommandTree(