Class: Deveo::CLI

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

Instance Method Summary collapse

Constructor Details

#initialize(options = {}) ⇒ CLI

Returns a new instance of CLI.



4
5
6
# File 'lib/deveo/cli.rb', line 4

def initialize(options = {})
  @options = options
end

Instance Method Details

#create_app(name) ⇒ Object



8
9
10
11
# File 'lib/deveo/cli.rb', line 8

def create_app(name)
  app = App.new(name)
  app.init
end

#package_app(path) ⇒ Object



13
14
15
# File 'lib/deveo/cli.rb', line 13

def package_app(path)
  App.package(path)
end