Class: Cosm::Command::Version
Overview
display version
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
-
#index ⇒ Object
version.
Methods inherited from Base
Constructor Details
This class inherits a constructor from Cosm::Command::Base
Instance Method Details
#index ⇒ Object
version
show cosm client version
Example:
$ cosm version v0.0.1
17 18 19 20 21 |
# File 'lib/cosm/command/version.rb', line 17 def index validate_arguments! puts(Cosm::VERSION) end |