class Jekyll::Commands::New

def process(args, options = {})

def process(args, options = {})
  raise ArgumentError, "You must specify a path." if args.empty?
  new_blog_path = File.expand_path(args.join(" "), Dir.pwd)
  FileUtils.mkdir_p new_blog_path
  if preserve_source_location?(new_blog_path, options)
    Jekyll.logger.error "Conflict:", "#{new_blog_path} exists and is not empty."
    Jekyll.logger.abort_with "", "Ensure #{new_blog_path} is empty or else try again " \
                                 "with `--force` to proceed and overwrite any files."
  end
  if options["blank"]
    create_blank_site new_blog_path
  else
    create_site new_blog_path
  end
  after_install(new_blog_path, options)
end