Sha256: 20f16e3f894873058fb1d9ee5401e2b569f040431ee563ccab064e8e384295d9

Contents?: true

Size: 312 Bytes

Versions: 1

Compression:

Stored size: 312 Bytes

Contents

# typed: true
# frozen_string_literal: true

module RBI
  class CLI < ::Thor
    extend T::Sig

    map T.unsafe(%w[--version] => :__print_version)

    desc "--version", "Show version"
    def __print_version
      puts "RBI v#{RBI::VERSION}"
    end

    def self.exit_on_failure?
      true
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rbi-0.0.1 lib/rbi/cli.rb