Class: Composer::Cli
- Inherits:
-
Object
- Object
- Composer::Cli
- Defined in:
- lib/composer/cli.rb
Instance Method Summary collapse
-
#initialize ⇒ Cli
constructor
A new instance of Cli.
- #start ⇒ Object
Constructor Details
Instance Method Details
#start ⇒ Object
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 |
# File 'lib/composer/cli.rb', line 14 def start configure_aws compose = Compose.new :config => @config, :name => @opts[:name], :key => @opts[:key], :directory => @opts[:directory] ||= '.', :secret => @opts[:secret] begin compose.check compose.run rescue Composer::ComposerException => e @logger.error e. exit 1 end end |