getFeatures method
Helper method to get the features from the command line.
Implementation
List<Feature> getFeatures() => (argResults!['features'] as String)
.split(',')
.map(
(element) => Feature(
maxResults: int.parse(argResults!['max-results']),
type: _toAnnotationType(element),
),
)
.toList();