Sha256: afb16ccc46fab8352074ecb123183352328561497a09298b5c8528110146d3d9
Contents?: true
Size: 383 Bytes
Versions: 1
Compression:
Stored size: 383 Bytes
Contents
require "thor" module Codelation class Cli < Thor POSTGRES_APP_DOWNLOAD_URL = "https://github.com/PostgresApp/PostgresApp/releases/download/9.5.3/Postgres-9.5.3.zip".freeze private # Install Postgres.app def install_postgres zip_file_path = download_file(POSTGRES_APP_DOWNLOAD_URL) extract_app_from_zip("Postgres.app", zip_file_path) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
codelation-cli-0.2.0 | lib/codelation/development/postgres.rb |