Skip to content

Commit 9c490e5

Browse files
committed
[style] Wrap long command help strings (#185)
1 parent c28b62d commit 9c490e5

17 files changed

Lines changed: 67 additions & 17 deletions

src/Console/Command/AgentsCommand.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,10 @@ public function __construct(
6262
*/
6363
protected function configure(): void
6464
{
65-
$this->setHelp('This command ensures the consumer repository contains linked Fast Forward project agents by creating symlinks to the packaged prompts and removing broken links.');
65+
$this->setHelp(
66+
'This command ensures the consumer repository contains linked Fast Forward project agents by creating'
67+
. ' symlinks to the packaged prompts and removing broken links.'
68+
);
6669
$this->addJsonOption();
6770
}
6871

src/Console/Command/ChangelogCheckCommand.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,10 @@ public function __construct(
6060
*/
6161
protected function configure(): void
6262
{
63-
$this->setHelp('This command validates the current Unreleased section and may compare it against a base git reference to enforce pull request changelog updates.');
63+
$this->setHelp(
64+
'This command validates the current Unreleased section and may compare it against a base git'
65+
. ' reference to enforce pull request changelog updates.'
66+
);
6467

6568
$this->addJsonOption()
6669
->addOption(

src/Console/Command/ChangelogEntryCommand.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,10 @@ public function __construct(
6363
*/
6464
protected function configure(): void
6565
{
66-
$this->setHelp('This command appends one categorized changelog entry to the selected changelog file so it can be reused by local authoring flows and skills.');
66+
$this->setHelp(
67+
'This command appends one categorized changelog entry to the selected changelog file so it can be'
68+
. ' reused by local authoring flows and skills.'
69+
);
6770

6871
$this->addJsonOption()
6972
->addArgument(

src/Console/Command/ChangelogNextVersionCommand.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,10 @@ public function __construct(
6161
*/
6262
protected function configure(): void
6363
{
64-
$this->setHelp('This command inspects Unreleased changelog categories and prints the next semantic version inferred from the current changelog state.');
64+
$this->setHelp(
65+
'This command inspects Unreleased changelog categories and prints the next semantic version inferred'
66+
. ' from the current changelog state.'
67+
);
6568

6669
$this->addJsonOption()
6770
->addOption(

src/Console/Command/ChangelogPromoteCommand.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,10 @@ public function __construct(
6565
*/
6666
protected function configure(): void
6767
{
68-
$this->setHelp('This command moves the current Unreleased entries into a released version section, records the release date, and restores an empty Unreleased section.');
68+
$this->setHelp(
69+
'This command moves the current Unreleased entries into a released version section, records the'
70+
. ' release date, and restores an empty Unreleased section.'
71+
);
6972

7073
$this->addJsonOption()
7174
->addArgument(

src/Console/Command/ChangelogShowCommand.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,10 @@ public function __construct(
6262
*/
6363
protected function configure(): void
6464
{
65-
$this->setHelp('This command renders the body of one released changelog section so it can be reused for GitHub release notes.');
65+
$this->setHelp(
66+
'This command renders the body of one released changelog section so it can be reused for GitHub'
67+
. ' release notes.'
68+
);
6669

6770
$this->addJsonOption()
6871
->addArgument(

src/Console/Command/CodeOwnersCommand.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,10 @@ public function __construct(
6666
*/
6767
protected function configure(): void
6868
{
69-
$this->setHelp('This command infers CODEOWNERS entries from composer.json metadata, falls back to a commented template, and supports drift-aware preview and overwrite flows.');
69+
$this->setHelp(
70+
'This command infers CODEOWNERS entries from composer.json metadata, falls back to a commented'
71+
. ' template, and supports drift-aware preview and overwrite flows.'
72+
);
7073

7174
$this->addJsonOption()
7275
->addOption(

src/Console/Command/CodeStyleCommand.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,9 @@ public function __construct(
8282
*/
8383
protected function configure(): void
8484
{
85-
$this->setHelp('This command runs EasyCodingStandard and Composer Normalize to check and fix code style issues.');
85+
$this->setHelp(
86+
'This command runs EasyCodingStandard and Composer Normalize to check and fix code style issues.'
87+
);
8688

8789
$this->addJsonOption()
8890
->addOption(

src/Console/Command/CopyResourceCommand.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,10 @@ public function __construct(
7070
*/
7171
protected function configure(): void
7272
{
73-
$this->setHelp('This command copies a configured source file or every file in a source directory into the target path.');
73+
$this->setHelp(
74+
'This command copies a configured source file or every file in a source directory into the target'
75+
. ' path.'
76+
);
7477

7578
$this->addJsonOption()
7679
->addOption(

src/Console/Command/DependenciesCommand.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,10 @@ public function __construct(
7575
*/
7676
protected function configure(): void
7777
{
78-
$this->setHelp('This command runs composer-dependency-analyser and Jack to report missing, unused, misplaced, and outdated Composer dependencies.');
78+
$this->setHelp(
79+
'This command runs composer-dependency-analyser and Jack to report missing, unused, misplaced, and'
80+
. ' outdated Composer dependencies.'
81+
);
7982

8083
$this->addJsonOption()
8184
->addOption(

0 commit comments

Comments
 (0)