require 'optparse' module LinkShrink # @author Jonah Ruiz # A Simple class for the executable version of the gem class CLI # @param args [Array] The command-line arguments def initialize(args) @args = args end # Configures the arguments for the command # @param opts [OptionParser] def set_options(opts) %w(@json @qr_code @tiny_url) @json = false @qr_code = false @tiny_url = false @google = false opts.version = LinkShrink::VERSION opts.banner = <