module ViteRuby::CLI::FileUtils

def write(path, *content)

Other tags:
    Api: - private

Other tags:
    Since: - 1.2.11
def write(path, *content)
  mkdir_p(path)
  File.open(path, File::CREAT | File::WRONLY | File::TRUNC) do |file|
    file.write(Array(content).flatten.join)
  end
end