浏览代码

Adjusted command descriptions for a standard build.

Frederic G. MARAND 6 年之前
父节点
当前提交
c4365a66fd
共有 4 个文件被更改,包括 7 次插入7 次删除
  1. 2 2
      LICENSE
  2. 1 1
      src/BuildSettingsCommand.php
  3. 1 1
      src/HugoConfigCommand.php
  4. 3 3
      src/MergeParamsCommand.php

+ 2 - 2
LICENSE

@@ -1,6 +1,6 @@
-GNU GENERAL PUBLIC LICENSE 
+GNU GENERAL PUBLIC LICENSE
 Version 2, June 1991
 Version 2, June 1991
-Copyright (C) 1989, 1991 Free Software Foundation, Inc. 
+Copyright (C) 1989, 1991 Free Software Foundation, Inc.
 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
 
 
 Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed.
 Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed.

+ 1 - 1
src/BuildSettingsCommand.php

@@ -32,7 +32,7 @@ class BuildSettingsCommand extends BaseBuilderCommand
         $this->eventName = $this->getName();
         $this->eventName = $this->getName();
         $this
         $this
             ->setName('build:settings')
             ->setName('build:settings')
-            ->setDescription('Builds the *.settings.local.php files.')
+            ->setDescription('Step 4: build the *.settings.local.php files.')
             ->setDefinition(
             ->setDefinition(
                 new InputDefinition([
                 new InputDefinition([
                 new InputArgument(static::ARG_FILE, InputArgument::OPTIONAL),
                 new InputArgument(static::ARG_FILE, InputArgument::OPTIONAL),

+ 1 - 1
src/HugoConfigCommand.php

@@ -31,7 +31,7 @@ class HugoConfigCommand extends BaseBuilderCommand
         $this->eventName = $this->getName();
         $this->eventName = $this->getName();
         $this
         $this
             ->setName('build:config_doc')
             ->setName('build:config_doc')
-            ->setDescription('Configure the documentation site for the current environment.')
+            ->setDescription('Step 2 (Optional): configure the documentation site for the current environment.')
             ->setDefinition(
             ->setDefinition(
                 new InputDefinition([
                 new InputDefinition([
                 new InputArgument(static::ARG_FILE, InputArgument::OPTIONAL),
                 new InputArgument(static::ARG_FILE, InputArgument::OPTIONAL),

+ 3 - 3
src/MergeParamsCommand.php

@@ -26,12 +26,12 @@ class MergeParamsCommand extends BaseBuilderCommand
         $this->eventName = $this->getName();
         $this->eventName = $this->getName();
         $this
         $this
             ->setName('build:merge_params')
             ->setName('build:merge_params')
-            ->setDescription('Merges the params.local.yml with dist.params.local.yml.')
+            ->setDescription('Step 1: merges the params.local.yml with dist.params.local.yml.')
             ->setDefinition([])
             ->setDefinition([])
             ->setHelp(
             ->setHelp(
                 <<<EOT
                 <<<EOT
-The build:merge_params command combines shared and per-environment parameters and
-generates merged.params.local.yml containing the merged result.
+Step 1 of a build, the build:merge_params command combines shared and per-environment
+parameters and generates merged.params.local.yml containing the merged result.
 
 
 EOT
 EOT
             );
             );