@@ -84,14 +84,14 @@ public function initDataLocationOption(InputInterface $input, AnnotationData $an
84
84
* exist. A '.' means the current location. This option is ignored if the
85
85
* module already exists.
86
86
* @option dry-run If specified, no files are written.
87
- * @usage drush cb- module
87
+ * @usage drush cb: module
88
88
* Build a Drupal component for a module, with interactive prompt.
89
- * @usage drush cb- module .
89
+ * @usage drush cb: module .
90
90
* Build a Drupal component for the module at the current location, with
91
91
* interactive prompt.
92
- * @usage drush cb- module my_module module
92
+ * @usage drush cb: module my_module module
93
93
* Build the basic module 'my_module'.
94
- * @usage drush cb- update my_module plugins
94
+ * @usage drush cb: update my_module plugins
95
95
* Add plugins to the module 'my_module'. If the module doesn't exist, it
96
96
* will be created.
97
97
* @bootstrap DRUSH_BOOTSTRAP_DRUPAL_FULL
@@ -111,7 +111,7 @@ public function commandBuildComponent(
111
111
) {
112
112
// Interactive mode is required, bail otherwise.
113
113
if (!$ input ->isInteractive ()) {
114
- throw new \Exception ("The cb- module command must be run in interactive mode. " );
114
+ throw new \Exception ("The cb: module command must be run in interactive mode. " );
115
115
}
116
116
117
117
try {
@@ -136,7 +136,7 @@ public function commandBuildComponent(
136
136
/**
137
137
* Set the module name to the current directory if not provided.
138
138
*
139
- * @hook init cb- module
139
+ * @hook init cb: module
140
140
*/
141
141
public function initializeBuildComponent (InputInterface $ input , AnnotationData $ annotationData ) {
142
142
$ module_name = $ input ->getArgument ('module_name ' );
@@ -156,7 +156,7 @@ public function initializeBuildComponent(InputInterface $input, AnnotationData $
156
156
/**
157
157
* Get the component type if not provided.
158
158
*
159
- * @hook interact cb- module
159
+ * @hook interact cb: module
160
160
*/
161
161
public function interactBuildComponent (InputInterface $ input , OutputInterface $ output , AnnotationData $ annotationData ) {
162
162
// Get the generator task.
@@ -677,7 +677,7 @@ protected function getQuestionPromptForProperty($text, $property_info) {
677
677
}
678
678
679
679
/**
680
- * @hook validate cb- module
680
+ * @hook validate cb: module
681
681
*/
682
682
public function validateBuildComponent (CommandData $ commandData ) {
683
683
$ input = $ commandData ->input ();
@@ -937,11 +937,11 @@ protected function getComponentFolder($component_type, $component_name, $parent_
937
937
*
938
938
* @command cb:update
939
939
*
940
- * @usage drush cb- update
940
+ * @usage drush cb: update
941
941
* Update data on Drupal components, storing in the default location.
942
- * @usage drush cb- update --data-location=relative/path
942
+ * @usage drush cb: update --data-location=relative/path
943
943
* Update data on hooks, storing data in public://relative/path.
944
- * @usage drush cb- update --data-location=/absolute/path
944
+ * @usage drush cb: update --data-location=/absolute/path
945
945
* Update data on hooks, storing data in /absolute/path.
946
946
* @bootstrap DRUSH_BOOTSTRAP_DRUPAL_FULL
947
947
* @aliases cbu
@@ -984,9 +984,9 @@ public function commandUpdateDefinitions(OutputInterface $output) {
984
984
* 'services': show services.
985
985
* 'tags': show tagged service types.
986
986
* 'fields': show field types.
987
- * @usage drush cb- list
987
+ * @usage drush cb: list
988
988
* List stored analysis data on Drupal components.
989
- * @usage drush cb- list --type=plugins
989
+ * @usage drush cb: list --type=plugins
990
990
* List stored analysis data on Drupal plugin types.
991
991
* @bootstrap DRUSH_BOOTSTRAP_DRUPAL_FULL
992
992
* @aliases cbl
0 commit comments