gives the store-api-key some options

This commit is contained in:
2023-04-18 22:07:14 +01:00
parent b20e822427
commit 56e4b6c526

View File

@ -176,13 +176,16 @@ namespace isn
} }
}; };
var setapikey = new Command("store-api-key", "Store this API key") var setapikey = new Command("store-api-key", "Store this API key")
{ {
Run = sargs => StoreApiKey(sargs) Run = sargs => StoreApiKey(sargs)
}; };
setapikey.Options = pushoptions;
commandSet.Add(pushCmd);
commandSet.Add(setapikey); commandSet.Add(setapikey);
commandSet.Add(pushCmd);
commandSet.Add(srcCmd); commandSet.Add(srcCmd);
commandSet.Add(showCommand); commandSet.Add(showCommand);
@ -214,6 +217,8 @@ namespace isn
Console.WriteLine("isn version " + GitVersionInformation.AssemblySemFileVer); Console.WriteLine("isn version " + GitVersionInformation.AssemblySemFileVer);
} }
return commandSet.Run(args); return commandSet.Run(args);
} }