blendfactory / dvm

Dart Version Management: A simple CLI to manage Dart SDK versions per project.
https://pub.dev/packages/dvmx
BSD 3-Clause "New" or "Revised" License
9 stars 0 forks source link

feat: Add `--latest` option flag to `dvm releases` #57

Closed blendthink closed 7 months ago

blendthink commented 7 months ago

Closes #11

This commit enhances the ReleasesCommandService by adding support for filtering to show only the latest SDK release. It introduces a new parameter isLatest to the service call method, which, when set to true, results in the service outputting only the most recent release information. This functionality is integrated with the ReleasesCommand to provide users with an option to view just the latest release details, improving the command's utility for users interested in the most current release without the need to sift through all available versions.