Fix php refactor

This commit is contained in:
VirtuBox
2023-08-12 14:08:05 +02:00
parent 28650fb0fb
commit d1c158d42f

View File

@@ -94,10 +94,11 @@ class WOStackController(CementBaseController):
dict(help='Force install/remove/purge without prompt',
action='store_true')),
]
for php_version, php_number in WOVar.wo_php_versions:
php_args = arguments + [([f'--{php_version}'],
dict(help=f'Install PHP {php_number} stack',
action='store_true'))]
for php_version, php_number in WOVar.wo_php_versions.items():
arguments.append(([f'--{php_version}'],
dict(help=f'Install PHP {php_number} stack',
action='store_true')))
usage = "wo stack (command) [options]"
@expose(hide=True)