Module: Befog

Defined in:
lib/befog.rb,
lib/befog/cli.rb,
lib/befog/commands/add.rb,
lib/befog/commands/run.rb,
lib/befog/commands/list.rb,
lib/befog/commands/stop.rb,
lib/befog/commands/start.rb,
lib/befog/commands/remove.rb,
lib/befog/commands/configure.rb,
lib/befog/commands/mixins/help.rb,
lib/befog/commands/mixins/scope.rb,
lib/befog/commands/mixins/safely.rb,
lib/befog/commands/mixins/command.rb,
lib/befog/commands/mixins/traceable.rb,
lib/befog/commands/mixins/selectable.rb,
lib/befog/commands/mixins/configurable.rb

Defined Under Namespace

Modules: CLI, Commands

Constant Summary collapse

VERSION =
begin
  require "pathname"
  path = File.expand_path("../../VERSION", Pathname.new(__FILE__).realpath)
  File.read(path).chomp
end

Class Method Summary collapse

Class Method Details

.show_versionObject



8
9
10
# File 'lib/befog.rb', line 8

def self.show_version
  $stdout.puts "Befog Version #{VERSION}"
end