mattbrictson / bundle_update_interactive

A stylish interactive mode for Bundler, inspired by `yarn upgrade-interactive`
MIT License
137 stars 3 forks source link

Remove thor dependency; use optparse directly #14

Closed mattbrictson closed 1 month ago

mattbrictson commented 1 month ago

Thor is useful for handling complex sets of options, arguments, and sub-commands. For this project it is overkill. This PR removes thor so that we have one less dependency to manage.

In place of thor, I created a CLI::Options class that encapsulates the option parsing logic, with corresponding unit tests.