ReviewListCommand constructor
ReviewListCommand(
- ReviewExecutionContext _context, {
- List<
String> ? allowedSites,
Implementation
ReviewListCommand(this._context, {List<String>? allowedSites}) {
_addSiteOption(argParser, allowedSites: allowedSites);
argParser
..addOption(
_statusOption,
allowed: const ['open', 'resolved', 'all'],
defaultsTo: 'all',
help: 'Filter comments by status.',
)
..addFlag(
_jsonFlag,
defaultsTo: false,
negatable: false,
help: 'Print comments as JSON.',
);
}