Refactoring
This commit is contained in:
@@ -15,7 +15,7 @@ class Help(CommandABC):
|
||||
['help (h|H)', 'Lists available command and their short descriptions.'],
|
||||
['new (n|N)', 'Creates new CPL project.'],
|
||||
['start (s|S)', 'Starts CPL project, restarting on file changes'],
|
||||
['publish (p|P)', 'Prepares files for publish into an output directory named dist/ at the given output path and executes setup.py. Must be executed from within a workspace directory.'],
|
||||
['publish (p|P)', 'Prepares files for publish into an output directory named dist/ at the given output path and executes setup_template.py. Must be executed from within a workspace directory.'],
|
||||
['update (u|u)', 'Update CPL and project dependencies.'],
|
||||
['version (v|V)', 'Outputs CPL CLI version.']
|
||||
]
|
||||
|
@@ -104,9 +104,10 @@ class New(CommandABC):
|
||||
if result.lower() == 'y':
|
||||
self._use_startup = True
|
||||
|
||||
# result = Console.read('Do you want to use service providing? (y/n) ')
|
||||
# if result.lower() == 'y':
|
||||
# self._use_service_providing = True
|
||||
# else:
|
||||
# result = Console.read('Do you want to use service providing? (y/n) ')
|
||||
# if result.lower() == 'y':
|
||||
# self._use_service_providing = True
|
||||
|
||||
def _build_project_dir(self, project_path: str):
|
||||
if not os.path.isdir(project_path):
|
||||
|
Reference in New Issue
Block a user