|
|
|
@ -46,7 +46,6 @@ namespace isn
|
|
|
|
|
|
|
|
|
|
static readonly OptionSet pushoptions = new OptionSet {
|
|
|
|
|
{ "k|api-key=", "use api key", val => apiKey = apiKey ?? val },
|
|
|
|
|
{ "p|store-api-key", "store used api key", val => storApiKey = val != null },
|
|
|
|
|
{ "s|source=", "use source", val => CurrentSource = CurrentSource ?? val },
|
|
|
|
|
{ "h|help", "show this message and exit", h => shouldShowPushHelp = h != null },
|
|
|
|
|
};
|
|
|
|
@ -179,7 +178,7 @@ namespace isn
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
var setapikey = new Command("set-api-key")
|
|
|
|
|
var setapikey = new Command("store-api-key", "Store this API key")
|
|
|
|
|
{
|
|
|
|
|
Run = sargs => StoreApiKey(sargs)
|
|
|
|
|
};
|
|
|
|
|