Class: Crowbar::Client::App::Entry

Inherits:
Base
  • Object
show all
Defined in:
lib/crowbar/client/app/entry.rb

Overview

A Thor based CLI entry point which resolves the sub-commands

Instance Method Summary collapse

Methods inherited from Base

banner, handle_argument_error, #initialize

Constructor Details

This class inherits a constructor from Crowbar::Client::App::Base

Instance Method Details

#versionObject

Command to print the version of Crowbar CLI



114
115
116
# File 'lib/crowbar/client/app/entry.rb', line 114

def version
  say "crowbar-client v#{Crowbar::Client::Version}"
end