A collection of classes and commands for automated command line scripting using Python.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
281 B

from .base import Command
def php_module(name, **kwargs):
2 years ago
"""Enable a PHP module.
:param name: The module name.
:type name: str
"""
statement = "phpenmod %s" % name
return Command(statement, **kwargs)
PHP_MAPPINGS = {
'php.module': php_module,
}