Get Application Path from command options (#1916)

This commit is contained in:
Cheena Malhotra
2023-03-08 14:58:30 -08:00
committed by GitHub
parent 19b7a180b5
commit a40b7d3581
4 changed files with 24 additions and 5 deletions

View File

@@ -46,6 +46,9 @@ namespace Microsoft.SqlTools.Utility
case "-application-name":
ApplicationName = args[++i];
break;
case "-data-path":
ApplicationPath = args[++i];
break;
case "-autoflush-log":
AutoFlushLog = true;
break;
@@ -110,6 +113,11 @@ namespace Microsoft.SqlTools.Utility
/// </summary>
public string ApplicationName { get; private set; }
/// <summary>
/// Path of application home directory
/// </summary>
public string ApplicationPath { get; private set; }
/// <summary>
/// Contains any error messages during execution
/// </summary>