mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-02-16 18:47:57 -05:00
Get Application Path from command options (#1916)
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user