@@ -15,8 +15,8 @@ class ReadCommand extends Command
1515{
1616 protected $ signature = 'read '
1717 . ' {repository?* : Full or partial repository names} '
18- . ' {--i|without -issues : Exclude issues from processing} '
19- . ' {--s|without -pulls : Exclude Pull Requests from processing} '
18+ . ' {--i|except -issues : Exclude issues from processing} '
19+ . ' {--p|except -pulls : Exclude Pull Requests from processing} '
2020 . ' {--o|with-open : Process including open Issues and Pull Requests} '
2121 . ' {--token= : Specifies the token to use} ' ;
2222
@@ -55,8 +55,8 @@ protected function read(array $repositories): void
5555 {
5656 $ this ->gitHub ()
5757 ->repositories ($ repositories )
58- ->withoutIssues ($ this ->withoutIssues ())
59- ->withoutPulls ($ this ->withoutPulls ())
58+ ->exceptIssues ($ this ->exceptIssues ())
59+ ->exceptPulls ($ this ->exceptPulls ())
6060 ->withOpen ($ this ->withOpen ())
6161 ->when (
6262 $ this ->shouldBeAll ($ repositories ),
@@ -68,8 +68,8 @@ protected function read(array $repositories): void
6868 protected function shouldBeAll (array $ repositories ): bool
6969 {
7070 return empty ($ repositories )
71- && ! $ this ->withoutIssues ()
72- && ! $ this ->withoutPulls ()
71+ && ! $ this ->exceptIssues ()
72+ && ! $ this ->exceptPulls ()
7373 && $ this ->withOpen ();
7474 }
7575
@@ -93,14 +93,14 @@ protected function repositories(): array
9393 ->all ();
9494 }
9595
96- protected function withoutIssues (): bool
96+ protected function exceptIssues (): bool
9797 {
98- return $ this ->option ('without -issues ' );
98+ return $ this ->option ('except -issues ' );
9999 }
100100
101- protected function withoutPulls (): bool
101+ protected function exceptPulls (): bool
102102 {
103- return $ this ->option ('without -pulls ' );
103+ return $ this ->option ('except -pulls ' );
104104 }
105105
106106 protected function withOpen (): bool
0 commit comments