module Flydata module Command class Version < Base VERSION_PATH = File.join(FLYDATA_GEM_HOME, 'VERSION') def run puts "flydata version \"#{File.open(VERSION_PATH, 'r').readline.strip}\"" end end end end