if you're writing a CLI tool you should definitely check out cri for parsing command line arguments: https://github.com/ddfreyne/cri
A Mastodon instance for Rubyists & friends