# frozen_string_literal: true require 'specimen' require 'specimen/cli/generate_command' require 'specimen/cli/specimen_command' module Specimen module CLI class << self def start!(args = ARGV) command = args.shift case command when 'generate' GenerateCommand.start(args) when '--version', '-v' show_version else SpecimenCommands.start(ARGV.dup) end end def show_version puts(Specimen::VERSION::STRING) end end end end