lib/meroku/cli.rb in meroku-2.0.27 vs lib/meroku/cli.rb in meroku-2.0.28
- old
+ new
@@ -47,11 +47,15 @@
def act_on_misc_options
Meroku::Shared.secrets.meroku_secret = @options[:meroku_secret] \
if @options[:meroku_secret]
- Node.new if @options[:spawn]
+ if @options[:spawn]
+ Node.new
+ puts 'Node created'
+ end
Meroku::Aws.terminate_all(tag: 'node') if @options[:despawn]
+ Meroku::Backup.new if @options[:backup]
end
def act_on_user_options
User.login(@options[:email], @options[:password]) if @options[:login]
User.logout if @options[:logout]