add edit for layout

This commit is contained in:
Ronny Abraham 2019-06-02 22:33:41 +03:00
parent 926a126fb8
commit 381c8a0568

View file

@ -755,15 +755,21 @@ def edit(param='help', branch=None):
else:
project_branch = branch
config_path = _get_configuration_path('config', project_branch)
meta_path = _get_configuration_path('config', project_branch)
layout_path = _get_configuration_path('layout', project_branch)
# locations = ['gunicorn', 'gunicorn_link', 'gunicorn_build',
# 'settings', 'local']
locations = {
'configuration': {
'path': config_path,
'meta': {
'path': meta_path,
'desc': 'meta configuration file',
},
'layout': {
'path': layout_path,
'desc': 'layout configuration file',
},
}
if param in locations.keys():