class Naifa::Utils

Public Class Methods

docker_compose_exec_command(app_name, command) click to toggle source
# File lib/naifa/utils.rb, line 7
def self.docker_compose_exec_command(app_name, command)
  Kernel.system("docker-compose exec #{app_name} bash -c \"#{command}\"")
end
download_file(filename, url) click to toggle source
# File lib/naifa/utils.rb, line 3
def self.download_file(filename, url)
  Kernel.system("curl -o #{filename} #{url}")
end