@@ -62,7 +62,7 @@ public function safeHandle(): int
62
62
}
63
63
$ creator ->create ();
64
64
65
- $ this ->infoComment (' All done! Created file ' , $ creator ->getOutputPath ());
65
+ $ this ->infoComment (" All done! Created file [ { $ creator ->getOutputPath ()} ] " );
66
66
67
67
return Command::SUCCESS ;
68
68
}
@@ -128,21 +128,21 @@ protected function captureFieldInput(PublicationFieldDefinition $field): ?Public
128
128
129
129
protected function captureTextFieldInput (PublicationFieldDefinition $ field ): PublicationFieldValue
130
130
{
131
- $ this ->infoComment (' Enter lines for field ' , $ field ->name , ' </>(end with an empty line) ' );
131
+ $ this ->infoComment (" Enter lines for field [ $ field ->name ] " );
132
132
133
133
return new PublicationFieldValue (PublicationFieldTypes::Text, implode ("\n" , InputStreamHandler::call ()));
134
134
}
135
135
136
136
protected function captureArrayFieldInput (PublicationFieldDefinition $ field ): PublicationFieldValue
137
137
{
138
- $ this ->infoComment (' Enter values for field ' , $ field ->name , ' </>(end with an empty line) ' );
138
+ $ this ->infoComment (" Enter values for field [ $ field ->name ] " );
139
139
140
140
return new PublicationFieldValue (PublicationFieldTypes::Array, InputStreamHandler::call ());
141
141
}
142
142
143
143
protected function captureMediaFieldInput (PublicationFieldDefinition $ field ): ?PublicationFieldValue
144
144
{
145
- $ this ->infoComment (' Select file for image field ' , $ field ->name );
145
+ $ this ->infoComment (" Select file for image field [ $ field ->name ] " );
146
146
147
147
$ mediaFiles = PublicationService::getMediaForPubType ($ this ->publicationType );
148
148
if ($ mediaFiles ->isEmpty ()) {
@@ -155,7 +155,7 @@ protected function captureMediaFieldInput(PublicationFieldDefinition $field): ?P
155
155
protected function captureTagFieldInput (PublicationFieldDefinition $ field ): ?PublicationFieldValue
156
156
{
157
157
$ tagGroup = $ field ->tagGroup ?? throw new InvalidArgumentException ("Tag field ' $ field ->name ' is missing the 'tagGroup' property " );
158
- $ this ->infoComment (' Select a tag for field ' , $ field ->name , " from the $ tagGroup group " );
158
+ $ this ->infoComment (/** @lang Text */ " Select a tag for field [ $ field ->name ] from the $ tagGroup group " );
159
159
160
160
$ options = PublicationService::getValuesForTagName ($ tagGroup );
161
161
if ($ options ->isEmpty ()) {
0 commit comments