Sha256: c3f6d595f2bc093d513bcc7f168bf39ccb6b48c921ad394a253b354daae73970

Contents?: true

Size: 282 Bytes

Versions: 3

Compression:

Stored size: 282 Bytes

Contents

# frozen_string_literal: true

# Class method Teuton#version
class CLI < Thor
  map ['v', '-v', '--version'] => 'version'
  desc 'version', 'Show the program version'
  ##
  # Display version
  def version
    puts "#{Application::NAME} (version #{Application::VERSION})"
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
teuton-2.1.11 lib/teuton/cli/version.rb
teuton-2.1.10 lib/teuton/cli/version.rb
teuton-2.1.9 lib/teuton/cli/version.rb