diff options
Diffstat (limited to 'CommandLineWrapper/JVCSWorkspace.cs')
| -rw-r--r-- | CommandLineWrapper/JVCSWorkspace.cs | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/CommandLineWrapper/JVCSWorkspace.cs b/CommandLineWrapper/JVCSWorkspace.cs index 6a39bbf..d88209c 100644 --- a/CommandLineWrapper/JVCSWorkspace.cs +++ b/CommandLineWrapper/JVCSWorkspace.cs @@ -2,6 +2,8 @@ using CommandLineWrapper; public class JVCSWorkspace { + public string WorkspaceDirectory => _workspaceDirectory ?? Directory.GetCurrentDirectory(); + private string? _workspaceDirectory; public async Task InitializeAsync(string directory) @@ -26,10 +28,4 @@ public class JVCSWorkspace await JVCSCommandInvoker.Invoke(Constants.CommandParameterGenerator.Initialize()); } } - - // Login to a upstream vault - public async Task Login(string account, string upstream) - { - await JVCSCommandInvoker.Invoke(Constants.CommandParameterGenerator.Login(account, upstream)); - } } |
