Class: Blix::Cli::Commands
- Inherits:
-
Thor
- Object
- Thor
- Blix::Cli::Commands
- Defined in:
- lib/blix/cli/commands.rb
Instance Method Summary collapse
Instance Method Details
#new(name) ⇒ Object
13 14 15 16 17 18 19 20 |
# File 'lib/blix/cli/commands.rb', line 13 def new(name) raise Error, "invalid path" unless name =~ /^[a-zA-Z_\-\.0-9]+$/ app = Application.new(name, ) app.setup end |
#update ⇒ Object
31 32 33 34 35 36 |
# File 'lib/blix/cli/commands.rb', line 31 def update app = Application.new('.', ) app.setup end |