setup: Rename createDirectory to diretory
'icingacli setup config directory' does not suffer from camel case notation and explains pretty much what it does.
This commit is contained in:
parent
4b6ea55cbb
commit
861252b1e7
|
@ -12,14 +12,14 @@ use Icinga\Module\Setup\Webserver;
|
||||||
class ConfigCommand extends Command
|
class ConfigCommand extends Command
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Create the configuration directory
|
* Create Icinga Web 2's configuration directory
|
||||||
*
|
*
|
||||||
* This command creates the configuration directory for Icinga Web 2. The `group' argument
|
* This command creates the configuration directory for Icinga Web 2. The `group' argument
|
||||||
* is mandatory and should be the groupname of the user your web server is running as.
|
* is mandatory and should be the groupname of the user your web server is running as.
|
||||||
*
|
*
|
||||||
* USAGE:
|
* USAGE:
|
||||||
*
|
*
|
||||||
* icingacli setup config createDirectory <group> [options]
|
* icingacli setup config directory <group> [options]
|
||||||
*
|
*
|
||||||
* OPTIONS:
|
* OPTIONS:
|
||||||
*
|
*
|
||||||
|
@ -28,11 +28,11 @@ class ConfigCommand extends Command
|
||||||
*
|
*
|
||||||
* EXAMPLES:
|
* EXAMPLES:
|
||||||
*
|
*
|
||||||
* icingacli setup config createDirectory apache
|
* icingacli setup config directory apache
|
||||||
* icingacli setup config createDirectory apache --mode 2775
|
* icingacli setup config directory apache --mode 2775
|
||||||
* icingacli setup config createDirectory apache --path /some/path
|
* icingacli setup config directory apache --path /some/path
|
||||||
*/
|
*/
|
||||||
public function createDirectoryAction()
|
public function directoryAction()
|
||||||
{
|
{
|
||||||
$group = $this->params->getStandalone();
|
$group = $this->params->getStandalone();
|
||||||
if ($group === null) {
|
if ($group === null) {
|
||||||
|
|
Loading…
Reference in New Issue