Class: All

Inherits:
Thor
  • Object
show all
Includes:
Mixin::Database, Mixin::Logger
Defined in:
lib/fox/interface/thor/all.rb

Instance Method Summary collapse

Methods included from Mixin::Database

#add_command, #add_model, #all_models, #check_if_version_available_for_model, #clear_default_model, #default_model_defined?, #get_default_model, #set_default_model, #set_default_model_version

Methods included from Mixin::Logger

#initialize

Instance Method Details

#allObject



24
25
26
27
28
29
30
# File 'lib/fox/interface/thor/all.rb', line 24

def all
  @logger.message :info, "Running Fox All command"
  all_models.sort_by(&:name).each do |model|
    puts "#{model.name} #{model.version} #{model.uuid}" 
  end  

end