Class: Maestro::Command::Info

Inherits:
Maestro::Command show all
Defined in:
lib/commands/project_commands.rb

Instance Method Summary collapse

Methods inherited from Maestro::Command

command, describe, #initialize

Constructor Details

This class inherits a constructor from Maestro::Command

Instance Method Details

#invokeObject



4
5
6
7
# File 'lib/commands/project_commands.rb', line 4

def invoke
  project = Maestro::Project.find(Maestro::Config[:project_id], :params => { :context => 'user' })
  [ "#{project.name}", "#{project.email}" ].join("\n")
end