Added workspace handling to publish command

This commit is contained in:
2021-04-07 19:18:55 +02:00
parent 5be2e83798
commit 2552f1d43c
6 changed files with 76 additions and 42 deletions

View File

@@ -72,6 +72,8 @@ class CommandHandler(ABC):
if index < len(sys.argv):
args = sys.argv[index:]
self._config.add_configuration('ProjectName', project_name)
if project_name not in workspace.projects:
Error.error(
f'Project {project_name} not found.'