Fix php refactor
This commit is contained in:
@@ -94,10 +94,11 @@ class WOStackController(CementBaseController):
|
|||||||
dict(help='Force install/remove/purge without prompt',
|
dict(help='Force install/remove/purge without prompt',
|
||||||
action='store_true')),
|
action='store_true')),
|
||||||
]
|
]
|
||||||
for php_version, php_number in WOVar.wo_php_versions:
|
for php_version, php_number in WOVar.wo_php_versions.items():
|
||||||
php_args = arguments + [([f'--{php_version}'],
|
arguments.append(([f'--{php_version}'],
|
||||||
dict(help=f'Install PHP {php_number} stack',
|
dict(help=f'Install PHP {php_number} stack',
|
||||||
action='store_true'))]
|
action='store_true')))
|
||||||
|
|
||||||
usage = "wo stack (command) [options]"
|
usage = "wo stack (command) [options]"
|
||||||
|
|
||||||
@expose(hide=True)
|
@expose(hide=True)
|
||||||
|
|||||||
Reference in New Issue
Block a user