Method: Command::Generate#call

Defined in:
lib/command/generate.rb

#callObject



31
32
33
34
35
36
37
38
# File 'lib/command/generate.rb', line 31

def call
  if controlplane_directory_exists?
    Shell.warn("The directory '.controlplane' already exists!")
    return
  end

  Generator.start
end