Class: Arfi::CLI

Inherits:
Thor show all
Defined in:
lib/arfi/cli.rb,
sig/lib/arfi/cli.rbs

Overview

Top level CLI class

Instance Method Summary collapse

Methods inherited from Thor

default_task, map, subcommand

Instance Method Details

#versionInteger

Print the gem version to stdout.

Returns:

  • (Integer)


34
35
36
# File 'lib/arfi/cli.rb', line 34

def version
  $stdout.write(Arfi::VERSION, "\n")
end