RunCommand constructor
RunCommand({
- GetIndicatesUseCase getIndicates = const GetIndicatesUseCase(),
- required DeletePreviousCommentsUseCase deletePreviousComments,
- required CommentIndicatesUseCase commentIndicates,
Implementation
RunCommand({
GetIndicatesUseCase getIndicates = const GetIndicatesUseCase(),
required DeletePreviousCommentsUseCase deletePreviousComments,
required CommentIndicatesUseCase commentIndicates,
}) : _getIndicates = getIndicates,
_deletePreviousComments = deletePreviousComments,
_commentIndicates = commentIndicates {
argParser.addOptions([
RepoOption(),
NumOption(),
BaseOption(),
HeadOption(),
DirOption(),
]);
}