File tree Expand file tree Collapse file tree 1 file changed +1
-7
lines changed
Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,6 @@ class ReadCommand extends Command
1717 . ' {--i|without-issues : Exclude issues from processing} '
1818 . ' {--s|without-pulls : Exclude Pull Requests from processing} '
1919 . ' {--o|with-open : Process including open Issues and Pull Requests} '
20- . ' {--n|no-interaction : Do not ask any interactive question} '
2120 . ' {--token= : GitHub access token with "notifications" permissions} ' ;
2221
2322 protected $ description = 'Read all issue notifications ' ;
@@ -40,7 +39,7 @@ protected function welcome(?string $repository): void
4039
4140 protected function hasContinue (): bool
4241 {
43- return $ this -> noInteraction () || confirm ('Continue ' );
42+ return confirm ('Continue ' );
4443 }
4544
4645 protected function read (?string $ repository ): void
@@ -101,11 +100,6 @@ protected function withOpen(): bool
101100 return $ this ->option ('with-open ' );
102101 }
103102
104- protected function noInteraction (): bool
105- {
106- return $ this ->option ('no-interaction ' );
107- }
108-
109103 protected function token (): string
110104 {
111105 if ($ token = $ this ->detectToken ()) {
You can’t perform that action at this time.
0 commit comments