Add arguments for extension

This commit is contained in:
pavel-pythagora
2023-09-28 13:29:21 +03:00
parent d300e9980a
commit 103b920cb7
3 changed files with 5 additions and 2 deletions

View File

@@ -20,7 +20,7 @@ def setup_workspace(args):
return args['workspace']
root = get_parent_folder('pilot')
root = args['root'] or get_parent_folder('pilot')
create_directory(root, 'workspace')
project_path = create_directory(os.path.join(root, 'workspace'), args['name'])
create_directory(project_path, 'tests')