add edit for layout
This commit is contained in:
parent
926a126fb8
commit
381c8a0568
1 changed files with 9 additions and 3 deletions
|
|
@ -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():
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue