gives the store-api-key some options

main
Paul Schneider 1 year ago
parent b20e822427
commit 56e4b6c526
1 changed files with 7 additions and 2 deletions

@ -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);
} }

Loading…