Class: Snippit::CLI::Version

Inherits:
Object
  • Object
show all
Defined in:
lib/snippit/cli/version.rb

Overview

Snippit::CLI::Version is the version subcommand for Snippit::CLI.

Instance Method Summary collapse

Instance Method Details

#startInteger

Starts the version subcommand.

Returns:

  • (Integer)

    the exit code



12
13
14
15
# File 'lib/snippit/cli/version.rb', line 12

def start
  puts "snippit #{Snippit::VERSION}"
  0
end