Sha256: c19daa41eaa96cd3d3e3f4e4ffacfb068d0fc4f4bbc9d08f8bc5effe95f749f7

Contents?: true

Size: 299 Bytes

Versions: 21

Compression:

Stored size: 299 Bytes

Contents

require "thor"

module Codelation
  class Cli < Thor
    ATOM_APP_DOWNLOAD_URL = "https://atom.io/download/mac"

  private

    # Install Atom.app
    def install_atom
      zip_file_path = download_file(ATOM_APP_DOWNLOAD_URL)
      extract_app_from_zip("Atom.app", zip_file_path)
    end
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
codelation-cli-0.0.2 lib/codelation/development/atom.rb