changed formatting and command line arguments descriptions

This commit is contained in:
Victoria 2024-07-23 10:53:53 -07:00
Родитель 73c1dad722
Коммит 25fae718e6
2 изменённых файлов: 6 добавлений и 6 удалений

Просмотреть файл

@ -410,12 +410,14 @@ namespace CollectSFData.Common
CommandOptionType.SingleValue);
DatabasePersistence = CmdLineApp.Option("-dp|--databasePersistence",
"[bool] default false to create a volatile database. a value of true will persist the database a given path in your container.",
"[bool] default false to create a volatile database. a value of true will" +
$"{newLine} persist the database a given path in your container.",
CommandOptionType.SingleValue);
DatabasePersistencePath = CmdLineApp.Option("-dpp|--databasePersistencePath",
$"[string] path where you want your database to be persisted in for local ingestion." +
$"{newLine} path much be in the format: '@'c:\\...\\..',@'c:\\...\\..''",
$"{newLine} path must be in the format: '@'c:\\...\\..',@'c:\\...\\..''" +
$"{newLine} example: '@'C:\\kustodata\\MyDatabaseName\\md',@'C:\\kustodata\\MyDatabaseName\\data''",
CommandOptionType.SingleValue);
DeleteCache = CmdLineApp.Option("-dc|--deleteCache",

Просмотреть файл

@ -124,15 +124,13 @@ namespace CollectSFData.Kusto
{
Endpoint = new KustoEndpoint(_config);
Endpoint.Authenticate();
_failureQueryTime = _instance.StartTime.ToUniversalTime();
if (_config.IsIngestionLocal)
{
Endpoint.CreateDatabase(Endpoint.DatabaseName);
}
_failureQueryTime = _instance.StartTime.ToUniversalTime();
if (!_config.IsIngestionLocal)
else
{
if (!PopulateQueueEnumerators())
{