mirror of
https://github.com/yaakov-h/Shamir.git
synced 2025-04-19 21:15:20 +00:00
Minor refactoring, add enumeration of storage container by folder, by container, or by entire account
This commit is contained in:
parent
a4f9f13780
commit
4743b1a74c
4 changed files with 123 additions and 43 deletions
|
@ -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(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue