def _ask_project_details(git_root, project):
if not project.initialized():
(app_name, organization, app_id) = _ask_general_info(git_root)
services = _ask_services(organization)
basebox, basebox_url = _ask_basebox()
project.set_name(app_name)
project.set_organization(organization)
project.set_id(app_id)
project.add_box({
'basebox': basebox
}, basebox_url)
else:
if not click.confirm('There is already a project configured in this '
'folder, do you want to modify it\'s config?'):
fatal('aborting')
services = _ask_services(project.organization(), project.services())
project.set_services(services)
评论列表
文章目录