Class: Aerosol::AbstractCommand

Inherits:
Clamp::Command
  • Object
show all
Defined in:
lib/aerosol/cli.rb

Direct Known Subclasses

Cli, DeployCommand, SshCommand

Instance Method Summary collapse

Instance Method Details

#executeObject



8
9
10
11
12
13
14
# File 'lib/aerosol/cli.rb', line 8

def execute
  if File.exist?(file)
    Aerosol.load_file = file
  else
    raise 'Could not find an aerosol file!'
  end
end