You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: new.rb
    path of file: ./repos/nesta/lib/nesta/commands
    
    the code of the file until where you have to start completion: module Nesta
  module Commands
    class New
      def initialize(*args)
        path = args.shift
        options = args.shift || {}
        path.nil? && (raise UsageError.new('path not specified'))
        if File.exist?(path)
          raise RuntimeError.new("#{path} already exists") 
        en
    
      def execute(process)
        make_directories
        templates = {
          'config.ru' => "#{@path}/config.ru",
          'config/config.yml' => "#{@path}/config/config.yml",
          'index.haml' => "#{@path}/content/pages/index.haml",
          'Gemfile' => "#{@path}/Gemfile"
        }
        templates['Rakefile'] = "#{@path}/Rakefile" if have_rake_tasks?
        if @options['vlad']
          templates['config/deploy.rb'] = "#{@path}/config/deploy.rb"
        end