Class: Dockly::AbstractCommand

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

Instance Method Summary collapse

Instance Method Details

#executeObject



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

def execute
  if File.exist?(file)
    Dockly.load_file = file
  else
    raise 'Could not find a dockly file!'
  end
end