Class: Deveo::CLI
- Inherits:
-
Object
- Object
- Deveo::CLI
- Defined in:
- lib/deveo/cli.rb
Instance Method Summary collapse
- #create_app(name) ⇒ Object
-
#initialize(options = {}) ⇒ CLI
constructor
A new instance of CLI.
- #package_app(path) ⇒ Object
Constructor Details
#initialize(options = {}) ⇒ CLI
Returns a new instance of CLI.
4 5 6 |
# File 'lib/deveo/cli.rb', line 4 def initialize( = {}) = 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 |