Class: Zillabyte::Command::Version

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

Overview

display version number

Instance Attribute Summary

Attributes inherited from Base

#args, #options

Instance Method Summary collapse

Methods inherited from Base

alias_command, extract_banner, extract_description, extract_help, extract_help_from_caller, extract_options, extract_summary, inherited, #initialize, method_added, namespace

Methods included from Helpers

#ask, #display, #error, #format_with_bang, #longest, #read_multiline, #with_tty

Constructor Details

This class inherits a constructor from Zillabyte::Command::Base

Instance Method Details

#index(*direct_args) ⇒ Object



7
8
9
# File 'lib/zillabyte/cli/version.rb', line 7

def index(*direct_args)
  display "Zillabyte CLI Version #{Zillabyte::CLI::VERSION}"
end