Class: Mull::Cli

Inherits:
Thor
  • Object
show all
Defined in:
lib/mull/cli.rb

Class Attribute Summary collapse

Instance Method Summary collapse

Class Attribute Details

.appObject

Returns the value of attribute app.



6
7
8
# File 'lib/mull/cli.rb', line 6

def app
  @app
end

Instance Method Details

#fetch_allObject



12
13
14
# File 'lib/mull/cli.rb', line 12

def fetch_all
  self.class.app.save_all
end

#serverObject



17
18
19
# File 'lib/mull/cli.rb', line 17

def server
  self.class.app.server
end